Author: carnold
Date: Thu Jan  3 08:33:14 2008
New Revision: 608550

URL: http://svn.apache.org/viewvc?rev=608550&view=rev
Log:
LOGCXX-218: Tweak #if expression for VC6 specific defs

Modified:
    logging/log4cxx/trunk/src/main/cpp/simpledateformat.cpp

Modified: logging/log4cxx/trunk/src/main/cpp/simpledateformat.cpp
URL: 
http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/simpledateformat.cpp?rev=608550&r1=608549&r2=608550&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/simpledateformat.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/simpledateformat.cpp Thu Jan  3 08:33:14 
2008
@@ -38,7 +38,7 @@
 #include <locale>
 #endif
 
-#if _MSC_VER < 1300
+#if defined(_MSC_VER) && _MSC_VER < 1300
 #define HAS_FACET(locale, type) _HAS(locale, type)
 #define USE_FACET(locale, type) _USE(locale, type)
 #define PUT_FACET(facet, os, time, spec) facet.put(os, os, time, spec)


Reply via email to