Fix broken Linux build in 5fcdae771b.
PiperOrigin-RevId: 549338643 Change-Id: Icb2de7aa77ddb5d6c9bbf6a1140ef388ead5368c
This commit is contained in:
committed by
Copybara-Service
parent
5fcdae771b
commit
7603b07a20
@@ -19,7 +19,6 @@
|
|||||||
|
|
||||||
// Windows
|
// Windows
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
// #define isnan _isnan
|
|
||||||
#define strcasecmp _stricmp
|
#define strcasecmp _stricmp
|
||||||
#define strncasecmp _strnicmp
|
#define strncasecmp _strnicmp
|
||||||
|
|
||||||
@@ -30,6 +29,8 @@
|
|||||||
|
|
||||||
// Unix-common
|
// Unix-common
|
||||||
#else
|
#else
|
||||||
|
#include <strings.h>
|
||||||
|
|
||||||
// Apple
|
// Apple
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
#define mjQUICKSORT(buf, elnum, elsz, func, context) \
|
#define mjQUICKSORT(buf, elnum, elsz, func, context) \
|
||||||
|
|||||||
Reference in New Issue
Block a user