]> git.saurik.com Git - wxWidgets.git/commitdiff
merge of wxMac into main repository
authorStefan Csomor <csomor@advancedconcepts.ch>
Wed, 9 Aug 2000 10:54:44 +0000 (10:54 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Wed, 9 Aug 2000 10:54:44 +0000 (10:54 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/tiff/makemac.mcp [new file with mode: 0644]
src/tiff/tif_luv.c
src/zlib/makemac.mcp [new file with mode: 0644]

diff --git a/src/tiff/makemac.mcp b/src/tiff/makemac.mcp
new file mode 100644 (file)
index 0000000..6b7f2ef
Binary files /dev/null and b/src/tiff/makemac.mcp differ
index 413c6c1e2f1f8a251123d2a381e1ae8156a372bd..5adaa54e0fe6ef795d80282d324c2d521e9b726f 100644 (file)
@@ -608,9 +608,12 @@ LogLuvEncodeTile(TIFF* tif, tidata_t bp, tsize_t cc, tsample_t s)
 #else
 #define LOGOF2         0.69314718055994530942
 #endif
+#ifndef log2
 #define log2(x)                ((1./LOGOF2)*log(x))
+#endif
+#ifndef exp2
 #define exp2(x)                exp(LOGOF2*(x))
-
+#endif
 #define UVSCALE                410.
 
 static double
diff --git a/src/zlib/makemac.mcp b/src/zlib/makemac.mcp
new file mode 100644 (file)
index 0000000..576ae20
Binary files /dev/null and b/src/zlib/makemac.mcp differ