Ivan Ngeow: Fixed compile for FreeBSD platforms.
This commit is contained in:
parent
94d870d930
commit
8ca9f26e1b
1 changed files with 1 additions and 1 deletions
|
@ -290,7 +290,7 @@ void sync_tree(const char* dir) {
|
|||
|
||||
#if defined(_MSC_VER) || defined(__MINGW32__)
|
||||
typedef void (__cdecl * sighandler_t)(int);
|
||||
#elif defined( __APPLE__ )
|
||||
#elif defined( __APPLE__ ) || defined (__FreeBSD__)
|
||||
typedef sig_t sighandler_t;
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue