aboutsummaryrefslogtreecommitdiff
path: root/graphics/luxrender14/files/patch-luxrays-include-luxcore-luxcore.h
blob: 4a0b0eeb73800091fc1b1cef3da48b602f99351e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- ../luxrays/include/luxcore/luxcore.h.orig
+++ ../luxrays/include/luxcore/luxcore.h
@@ -63,7 +63,7 @@
  */
 namespace luxcore {
 
-CPP_EXPORT CPP_API void (*LuxCore_LogHandler)(const char *msg); // LuxCore Log Handler
+extern CPP_API void (*LuxCore_LogHandler)(const char *msg); // LuxCore Log Handler
 
 #define LC_LOG(a) { if (luxcore::LuxCore_LogHandler) { std::stringstream _LUXCORE_LOG_LOCAL_SS; _LUXCORE_LOG_LOCAL_SS << a; luxcore::LuxCore_LogHandler(_LUXCORE_LOG_LOCAL_SS.str().c_str()); } }
 
@@ -603,7 +603,7 @@ public:
 	 * 
 	 * \return the default Properties.
 	 */
-	static const luxrays::Properties &GetDefaultProperties();
+	const luxrays::Properties &GetDefaultProperties();
 
 	friend class RenderSession;