blob: c5aa33a041cf4dc0c43f9eafa8357d1b1a9046e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
From 7b1df6fc2b989d8a64edaa47fe04edea95c45174 Mon Sep 17 00:00:00 2001
From: Stefan Gerlach <stefan.gerlach@uni-konstanz.de>
Date: Thu, 25 Jul 2024 08:21:38 +0000
Subject: [PATCH] Fix "_WIN32" is not defined when not on Windows.
---
include/ixion/env.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/ixion/env.hpp b/include/ixion/env.hpp
index 92812e3e..7fee0702 100644
--- a/include/ixion/env.hpp
+++ b/include/ixion/env.hpp
@@ -33,7 +33,7 @@
#define IXION_DLLPUBLIC_VAR IXION_DLLPUBLIC extern
#endif
-#if _WIN32
+#ifdef _WIN32
#define IXION_MOD_EXPORT __declspec(dllexport)
#else
#define IXION_MOD_EXPORT __attribute__ ((visibility ("default")))
--
GitLab
|