CHECK_INCLUDE_FILES(libintl.h HAVE_LIBINTL)
CHECK_INCLUDE_FILES(sys/time.h HAVE_SYS_TIME_H)
CHECK_INCLUDE_FILES(getopt.h HAVE_GETOPT_H)
+CHECK_INCLUDE_FILES(string.h HAVE_STRING_H)
### Configure build
#Required libraries, supplied with navit
endif()
if (WIN32)
set(HAVE_API_WIN32 1)
+ set(HAVE_STDINT_H 1)
+ set(BUILD_MAPTOOL FALSE)
+ set(SAMPLE_MAP FALSE)
list(APPEND NAVIT_LIBS winmm)
endif()
if(WINCE)
#cmakedefine HAVE_GETOPT_H 1
#cmakedefine HAVE__ATOI64 1
+
+#cmakedefine HAVE_STRING_H 1
# define g_mutex_new g_mutex_new_navit
# define g_mutex_lock(lock) (EnterCriticalSection(lock))
# define g_mutex_unlock(lock) (LeaveCriticalSection(lock))
-# define g_mutex_trylock(lock) (TryEnterCriticalSection(lock))
+# define g_mutex_trylock(lock) 1//(TryEnterCriticalSection(lock))
# define GPrivate int
# define g_private_new(xd) g_private_new_navit()
# define g_private_get(xd) TlsGetValue(xd)
typedef unsigned uint32_t;
typedef long long int64_t;
typedef unsigned long long uint64_t;
+typedef unsigned long long uintmax_t;
#endif /* _MSC_VER */