adding std to cstdint typedef of uint32_t
authorkamjagin <kamjagin@gmail.com>
Wed, 14 Aug 2013 09:25:49 +0000 (11:25 +0200)
committerkamjagin <kamjagin@gmail.com>
Wed, 14 Aug 2013 15:16:52 +0000 (17:16 +0200)
cmake/OpenCVFindLibsGUI.cmake
modules/core/include/opencv2/core/cvdef.h

index 270853a..04c77d8 100644 (file)
@@ -70,7 +70,7 @@ endif(WITH_OPENGL)
 if(APPLE)
   if(WITH_CARBON)
     set(HAVE_CARBON YES)
-  elseif(NOT IOS)
+  elif(NOT IOS)
     set(HAVE_COCOA YES)
   endif()
 endif()
index 2130157..46f2949 100644 (file)
 #if !defined _MSC_VER && !defined __BORLANDC__
 #  if defined __cplusplus && __cplusplus >= 201103L
 #    include <cstdint>
+     typedef std::uint32_t uint;
 #  else
 #    include <stdint.h>
+     typedef uint32_t uint;
 #  endif
-   typedef uint32_t uint;
 #else
    typedef unsigned uint;
 #endif