Locally define DLLEXPORT in ee_il_dll.cpp
authorRuss Keldorph <Russ.Keldorph@microsoft.com>
Mon, 11 Feb 2019 19:42:29 +0000 (11:42 -0800)
committerRuss Keldorph <russ.keldorph@microsoft.com>
Mon, 11 Feb 2019 22:05:40 +0000 (14:05 -0800)
This prevents a desktop build break due to DLLEXPORT being undefined.  If
you know of a better place to put this, I'm happy to try it.  Otherwise,
this should unblock the desktop build.

src/jit/ee_il_dll.cpp

index 23f4e6b..e24de9d 100644 (file)
@@ -26,6 +26,10 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 #include <errno.h> // For EINVAL
 #endif
 
+#ifndef DLLEXPORT
+#define DLLEXPORT
+#endif // !DLLEXPORT
+
 /*****************************************************************************/
 
 FILE* jitstdout = nullptr;