Skip to content

Commit

Permalink
Merge pull request #7385 from keithc-ca/sighandler_t
Browse files Browse the repository at this point in the history
Remove unused macro: sig_handler_t
  • Loading branch information
babsingh committed Jun 19, 2024
2 parents 164f8ff + 73e0bfa commit e92518f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions include_core/omrsig.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ typedef void (*sighandler_t)(int sig);
typedef void (*sighandler_t)(int sig);
#define __THROW
#elif defined(OMR_OS_WINDOWS)
/* Use sig_handler_t instead of sighandler_t for Windows. Define it for compatibility. */
#define sig_handler_t sighandler_t
typedef void (__cdecl *sighandler_t)(int signum);
typedef void (__cdecl *sighandler_t)(int sig);
#define __THROW
#endif /* defined(OMR_OS_WINDOWS) */

Expand Down

0 comments on commit e92518f

Please sign in to comment.