]> git.lyx.org Git - lyx.git/blobdiff - development/cmake/configCompiler.h.msvc
Amend 2c4673af58f6
[lyx.git] / development / cmake / configCompiler.h.msvc
index 37ab612e1c01d942ecf64c907ca2937c4f698932..334015b5e97573d1aafbb7aa618927baf42c952a 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_POSIX_PATH 1
 #endif
 
-#ifndef HAVE_NEWAPIS_H
-#  define WANT_GETFILEATTRIBUTESEX_WRAPPER 1
-#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__)
+#if defined(HAVE_WCHAR_T) && SIZEOF_WCHAR_T == 4
 #  define USE_WCHAR_T
 #endif
 
 #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