Commit 2fde4d8a authored by Roman Donchenko's avatar Roman Donchenko Committed by OpenCV Buildbot

Merge pull request #2145 from andreasBihlmaier:2.4

parents 2443e809 49dfa5a1
...@@ -210,7 +210,7 @@ ...@@ -210,7 +210,7 @@
#include <string> #include <string>
#endif #endif
#if defined(linux) || defined(__APPLE__) || defined(__MACOSX) #if defined(__linux__) || defined(__APPLE__) || defined(__MACOSX)
#include <alloca.h> #include <alloca.h>
#include <emmintrin.h> #include <emmintrin.h>
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
#define CV_CL_GET_PROC_ADDRESS(name) WinGetProcAddress(name) #define CV_CL_GET_PROC_ADDRESS(name) WinGetProcAddress(name)
#endif // _WIN32 #endif // _WIN32
#if defined(linux) #if defined(__linux__)
#include <dlfcn.h> #include <dlfcn.h>
#include <stdio.h> #include <stdio.h>
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
#define CV_CL_GET_PROC_ADDRESS(name) WinGetProcAddress(name) #define CV_CL_GET_PROC_ADDRESS(name) WinGetProcAddress(name)
#endif // _WIN32 #endif // _WIN32
#if defined(linux) #if defined(__linux__)
#include <dlfcn.h> #include <dlfcn.h>
#include <stdio.h> #include <stdio.h>
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
#define CV_CL_GET_PROC_ADDRESS(name) WinGetProcAddress(name) #define CV_CL_GET_PROC_ADDRESS(name) WinGetProcAddress(name)
#endif // _WIN32 #endif // _WIN32
#if defined(linux) #if defined(__linux__)
#include <dlfcn.h> #include <dlfcn.h>
#include <stdio.h> #include <stdio.h>
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#define CV_CL_GET_PROC_ADDRESS(name) WinGetProcAddress(name) #define CV_CL_GET_PROC_ADDRESS(name) WinGetProcAddress(name)
#endif // _WIN32 #endif // _WIN32
#if defined(linux) #if defined(__linux__)
#include <dlfcn.h> #include <dlfcn.h>
#include <stdio.h> #include <stdio.h>
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#define CV_CL_GET_PROC_ADDRESS(name) WinGetProcAddress(name) #define CV_CL_GET_PROC_ADDRESS(name) WinGetProcAddress(name)
#endif // _WIN32 #endif // _WIN32
#if defined(linux) #if defined(__linux__)
#include <dlfcn.h> #include <dlfcn.h>
#include <stdio.h> #include <stdio.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment