[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    =?utf-8?q?=5Blibkdcraw=5D_libraw/libraw=3A_Add_support_of_libraw?=
From:       Gilles Caulier <caulier.gilles () gmail ! com>
Date:       2011-06-18 8:01:29
Message-ID: 20110618080129.8FAB0A60A4 () git ! kde ! org
[Download RAW message or body]

Git commit 1594b8000dba53d0835d70b4b844ad747b2d88e2 by Gilles Caulier.
Committed on 18/06/2011 at 09:58.
Pushed by cgilles into branch 'master'.

Add support of libraw OpenMP with M$ Visual C++ 2008. Do not limit only to Visual C++ 2010
Compiled and tested under Win7 + VisualC++ 2008 pro, and all work fine.
Alex, please include this patch to official libraw repository. Thanks in advance.
CCMAIL: lexa@lexa.ru

M  +2    -2    libraw/libraw/libraw_types.h     

http://commits.kde.org/libkdcraw/1594b8000dba53d0835d70b4b844ad747b2d88e2

diff --git a/libraw/libraw/libraw_types.h b/libraw/libraw/libraw_types.h
index de08648..268435a 100644
--- a/libraw/libraw/libraw_types.h
+++ b/libraw/libraw/libraw_types.h
@@ -32,8 +32,8 @@ it under the terms of the one of three licenses as you choose:
 #if defined (_OPENMP) 
 
 #if defined(WIN32) 
-# if defined (_MSC_VER) && (_MSC_VER >= 1600) 
-/* VS2010+ : OpenMP works OK */
+# if defined (_MSC_VER) && (_MSC_VER >= 1500)
+/* VS2008 and VS2010+ : OpenMP works OK */
 #   define LIBRAW_USE_OPENMP
 #elif defined (__INTEL_COMPILER) && (__INTEL_COMPILER >=910)
 /*  Have not tested on 9.x and 10.x, but Intel documentation claims OpenMP 2.5 support in 9.1 */

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic