Commits

camlspotter  committed 82c96a4

undefine int16 etc for tiff

  • Participants
  • Parent commits a419eb4

Comments (0)

Files changed (1)

File src/tiffwrite.c

 #include <caml/fail.h>
 
 /* These are defined in caml/config.h */
+#undef int16
+#undef uint16
+#undef int32
+#undef uint32
 #define int16 int16tiff
 #define uint16 uint16tiff
 #define int32 int32tiff
 
 #include <tiffio.h>
 
-#undef int16
-#undef uint16
-#undef int32
-#undef uint32
-
 extern value *imglib_error;
 
 value open_tiff_file_for_write( value file,