Author: post
Date: 2012-11-28 08:35:35 +0100 (Wed, 28 Nov 2012)
New Revision: 497

Modified:
   RawSpeed/StdAfx.h
Log:
Pack libjpeg in "extern C", since not all platforms have this in the header.

Modified: RawSpeed/StdAfx.h
===================================================================
--- RawSpeed/StdAfx.h   2012-11-21 21:53:17 UTC (rev 496)
+++ RawSpeed/StdAfx.h   2012-11-28 07:35:35 UTC (rev 497)
@@ -65,8 +65,13 @@
 #endif
 #endif
 
+#ifdef __cplusplus
+extern "C" {
+#endif
 #include "jpeglib.h"
-
+#ifdef __cplusplus
+}
+#endif
 // STL
 #include <iostream>
 #include <string>


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to