]> git.lyx.org Git - lyx.git/blobdiff - development/cmake/configCompiler.h.msvc
ctest: update tagging scripts.
[lyx.git] / development / cmake / configCompiler.h.msvc
index 37ab612e1c01d942ecf64c907ca2937c4f698932..bec1a4113caa69de150cb8205052d45d10346566 100644 (file)
 #define HAVE__PCLOSE 1
 #define HAVE_GETPID 1
 #define HAVE__GETPID 1
+#define HAVE_GETTEXT 1 /* TODO this is set manually */
 #define HAVE_MKDIR 1
 #define HAVE__MKDIR 1
+/* #undef HAVE_SETENV 1 */
 #define HAVE_PUTENV 1
 #define HAVE_MKTEMP 1
 /* #undef HAVE_MKSTEMP 1 */
 
 #define BOOST_ALL_NO_LIB 1
 
-#if defined(HAVE_OSTREAM) && defined(HAVE_LOCALE) && defined(HAVE_SSTREAM)
-#  define USE_BOOST_FORMAT 1
-#else
-#  define USE_BOOST_FORMAT 0
-#endif
-
 #ifdef _DEBUG
 #  define ENABLE_ASSERTIONS 1
 #endif
 #  define BOOST_POSIX_PATH 1
 #endif
 
-#ifndef HAVE_NEWAPIS_H
-#  define WANT_GETFILEATTRIBUTESEX_WRAPPER 1
+#if defined(HAVE_WCHAR_T) && SIZEOF_WCHAR_T == 4
+#  define USE_WCHAR_T
 #endif
 
-/*
- * the FreeBSD libc uses UCS4, but libstdc++ has no proper wchar_t
- * support compiled in:
- * http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.html#3_9
- * And we are not interested at all what libc
- * does: What we need is a 32bit wide wchar_t, and a libstdc++ that
- * has the needed wchar_t support and uses UCS4. Whether it
- * implements this with the help of libc, or whether it has own code
- * does not matter for us, because we don't use libc directly (Georg)
-*/
-#if defined(HAVE_WCHAR_T) && SIZEOF_WCHAR_T == 4 && !defined(__FreeBSD__) && !defined(__FreeBSD_kernel__)
-#  define USE_WCHAR_T
+#ifdef HAVE_LONG_LONG
+#ifdef SIZEOF_LONG_LONG_GREATER_THAN_SIZEOF_LONG
+#define LYX_USE_LONG_LONG
+#endif
 #endif
 
 #if defined(MAKE_INTL_LIB) && defined(_MSC_VER)
 #define HAVE_MODE_T
 #endif
 
+#if defined(_MSC_VER) && (_MSC_VER >= 1600)
+#include "support/strfwd.h" // always first, to prevent compiler's interpretation/instantiations of some typedef
+#endif
 
 
 #endif