소스 검색

include/starpu.h: fix definition of uintptr_t when using MSVC

Nathalie Furmento 12 년 전
부모
커밋
69f2686ede
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      include/starpu.h

+ 2 - 1
include/starpu.h

@@ -23,11 +23,12 @@
 #ifndef _MSC_VER
 #include <stdint.h>
 #else
+#include <windows.h>
 typedef unsigned char uint8_t;
 typedef unsigned short uint16_t;
 typedef unsigned int uint32_t;
 typedef unsigned long long uint64_t;
-typedef unsigned int uintptr_t;
+typedef UINT_PTR uintptr_t;
 #endif
 
 #include <starpu_config.h>