Author: post
Date: 2010-10-28 22:44:38 +0200 (Thu, 28 Oct 2010)
New Revision: 284

Modified:
   RawSpeed/Common.h
Log:
Fix MAX define on Linux.

Modified: RawSpeed/Common.h
===================================================================
--- RawSpeed/Common.h   2010-10-28 20:31:37 UTC (rev 283)
+++ RawSpeed/Common.h   2010-10-28 20:44:38 UTC (rev 284)
@@ -41,9 +41,9 @@
 #ifndef MIN
 #define MIN(a, b)  lmin(a,b)
 typedef unsigned long long uint64;
-#endif // end On linux
+#endif
 #ifndef MAX
-#define MAX(a, b)  lmin(a,b)
+#define MAX(a, b)  lmax(a,b)
 #endif
 #ifndef __MINGW32__
 typedef char* LPCWSTR;


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

Reply via email to