Skip to content

Commit

Permalink
Add IF_SOLARIS macro
Browse files Browse the repository at this point in the history
  • Loading branch information
grooverdan committed Apr 4, 2020
1 parent 1768cb6 commit 8de09e1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions include/ma_global.h
Original file line number Diff line number Diff line change
Expand Up @@ -1096,6 +1096,12 @@ typedef unsigned long long intptr;
#define IF_WIN(A,B) B
#endif

#if defined(SOLARIS) || defined(__sun)
#define IF_SOLARIS(A,B) A
#else
#define IF_SOLARIS(A,B) B
#endif

#ifndef RTLD_NOW
#define RTLD_NOW 1
#endif
Expand Down

0 comments on commit 8de09e1

Please sign in to comment.