]> git.saurik.com Git - wxWidgets.git/blobdiff - build/bakefiles/tiff.bkl
Handle successive key presses better in wxGenericTreeCtrl search code.
[wxWidgets.git] / build / bakefiles / tiff.bkl
index 8b7356a8aadeaebfac4d3aafb5496beefc95bead..2deb872b7dba2f875c0bcebf7fa96b2690af7b72 100644 (file)
@@ -37,8 +37,7 @@
     <set var="TIFF_PLATFORM_SRC">
         <if cond="PLATFORM_UNIX=='1'">src/tiff/libtiff/tif_unix.c</if>
         <if cond="PLATFORM_MACOSX=='1'">src/tiff/libtiff/tif_unix.c</if>
-        <if cond="PLATFORM_OS2=='1' and FORMAT!='watcom'">src/tiff/libtiff/tif_unix.c</if>
-        <if cond="PLATFORM_OS2=='1' and FORMAT=='watcom'">src/tiff/libtiff/tif_os2.c</if>
+        <if cond="PLATFORM_OS2=='1'">src/tiff/libtiff/tif_unix.c</if>
         <if cond="PLATFORM_WIN32=='1'">src/tiff/libtiff/tif_win32.c</if>
         <if cond="PLATFORM_MACOS=='1'">src/tiff/libtiff/tif_apple.c</if>
         <if cond="PLATFORM_MSDOS=='1'">src/tiff/libtiff/tif_msdos.c</if>
         <cflags-watcom>-wcd=124</cflags-watcom>
         <define cond="PLATFORM_OS2=='1' and FORMAT=='watcom'">OS2_32</define>
         <define cond="PLATFORM_MSDOS=='1' and FORMAT=='watcom'">__MSDOS__</define>
+        <if cond="IS_MSVC">
+            <!--
+                define this to get rid of a warning about using POSIX lfind():
+                confusingly enough, we do define lfind as _lfind for MSVC but
+                doing this results in a just more confusing warning, see:
+                http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=101278
+             -->
+            <define>_CRT_NONSTDC_NO_WARNINGS</define>
+        </if>
+
         <sources>
             $(TIFF_PLATFORM_SRC)
             src/tiff/libtiff/tif_aux.c