Author: al
Date: 2009-12-30 21:42:09 +0100 (Wed, 30 Dec 2009)
New Revision: 2913

Modified:
   trunk/plugins/load-dcraw/mmap-hack.h
Log:
Undefine feof if defined. 

Modified: trunk/plugins/load-dcraw/mmap-hack.h
===================================================================
--- trunk/plugins/load-dcraw/mmap-hack.h        2009-12-30 20:41:39 UTC (rev 
2912)
+++ trunk/plugins/load-dcraw/mmap-hack.h        2009-12-30 20:42:09 UTC (rev 
2913)
@@ -57,6 +57,10 @@
 #define fgetc(stream) (int) (RS_FILE(stream)->map[RS_FILE(stream)->offset++])
 #define ftell(stream) (long) (RS_FILE(stream)->offset)
 #define rewind(stream) do {RS_FILE(stream)->offset = 0; } while(0)
+
+#ifdef feof
+#undef feof
+#endif
 #define feof(stream) (RS_FILE(stream)->offset >= RS_FILE(stream)->size)
 
 #ifdef getc


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to