Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Data-UUID CPAN distribution.

Report information
The Basics
Id: 14082
Status: resolved
Priority: 0/
Queue: Data-UUID

People
Owner: Nobody in particular
Requestors: claco [...] chrislaco.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.11
Fixed in: (no value)



Subject: Compile Failure on MSWin32
Attached is a patch to allow Data::UUID to compile under noaml MSWin32 (no Ming or Cygwin). I'm not sure it Does The Right Thing, and I don't know C, but it does work for me. Should we also change the LIB => -lsocket.h like under MSWin32?
--- UUID.h.orig Wed Aug 27 15:38:36 2003 +++ UUID.h Tue Aug 09 14:59:56 2005 @@ -1,10 +1,14 @@ #if !defined __UUID_H__ # define __UUID_H__ +#if defined __MSWin32__ +#define __CYGWIN__ +#else +#include <unistd.h> +#endif #include <string.h> #include <stdio.h> #include <stdlib.h> -#include <unistd.h> #include <time.h> #include "md5.h"
From: CLACO
[CLACO - Tue Aug 9 15:04:16 2005]: Show quoted text
> Attached is a patch to allow Data::UUID to compile under noaml MSWin32 > (no Ming or Cygwin). I'm not sure it Does The Right Thing, and I don't > know C, but it does work for me. > > Should we also change the LIB => -lsocket.h like under MSWin32?
gellyfish(http://www.perlmonks.com/?node_id=104238) over at PM posted/sent me this patch (http://www.perlmonks.com/?node_id=482600) to fix compilation under win32 for VC6/VC7 ).NET) -=Chris
Download patch
application/octet-stream 1.4k

Message body not shown because it is not plain text.