Skip to content

Commit 8178322

Browse files
authored
Merge pull request #10 from Retsubhtym/fixLinuxPreprocessor
Add one more keyword for a Linux target.
2 parents fa03c6a + 0067de2 commit 8178322

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/minigmp_global.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# define MINIGMPSHARED_EXPORT __declspec(dllexport)
1313
#endif
1414

15-
#if defined (linux) || defined (__APPLE__)
15+
#if defined (linux) || defined (__linux__) || defined (__APPLE__)
1616
# define MINIGMPSHARED_EXPORT __attribute__((visibility("default")))
1717
#endif
1818

0 commit comments

Comments
 (0)