1. markotibold
  2. pyzmq-static


Brandon Rhodes  committed 6cb76cb

Patched gen_uuid.c to include a header file now necessary for compilation.

  • Participants
  • Parent commits 8176c8e
  • Branches default

Comments (0)

Files changed (2)

File get.sh

View file
 cp $ZEROMQ/builds/msvc/platform.hpp include_nt
+# Patch gen_uuid.c so that it gets some header files it needs.
+sed -i '34s/^/#define HAVE_UNISTD_H\
+#define HAVE_STDLIB_H\
+#define HAVE_SYS_FILE_H/' src_uuid/gen_uuid.c
 # Generate platform.hpp from platform.hpp.in so that I can compare it
 # against the cached versions.

File src_uuid/gen_uuid.c

View file
  * %End-Header%
+#define HAVE_UNISTD_H
+#define HAVE_STDLIB_H
+#define HAVE_SYS_FILE_H
  * Force inclusion of SVID stuff since we need it if we're compiling in
  * gcc-wall wall mode