From 04a6ceea8493c1d55be90b19d0baebcef4411baf Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Mon, 10 Feb 2014 20:57:51 +0000
Subject: [PATCH] Add stdint.h test (for VS 10 etc.al)

---
 src/xpdev/CMakeLists.txt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/xpdev/CMakeLists.txt b/src/xpdev/CMakeLists.txt
index 30eaf591e3..48377d00a7 100644
--- a/src/xpdev/CMakeLists.txt
+++ b/src/xpdev/CMakeLists.txt
@@ -57,6 +57,10 @@ CHECK_INCLUDE_FILES(inttypes.h HAS_INTTYPES_H)
 if(HAS_INTTYPES_H)
     target_compile_definitions(xpdev PUBLIC HAS_INTTYPES_H)
 endif()
+CHECK_INCLUDE_FILES(stdint.h HAS_STDINT_H)
+if(HAS_STDINT_H)
+    target_compile_definitions(xpdev PUBLIC HAS_STDINT_H)
+endif()
 target_compile_definitions(xpdev PUBLIC LINK_LIST_THREADSAFE)
 
 CHECK_INCLUDE_FILES(sys/soundcard.h HAS_SYS_SOUNDCARD_H) 
-- 
GitLab