Skip to content

Commit

Permalink
Linux uses its own alloca.h, all others use original UNIX stdlib.h.
Browse files Browse the repository at this point in the history
  • Loading branch information
glebius authored and john-preston committed Sep 17, 2021
1 parent 05a896f commit 373e416
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions webrtc_dsp/rtc_base/stringutils.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@
#endif // WEBRTC_WIN

#if defined(WEBRTC_POSIX)
#ifdef BSD
#include <stdlib.h>
#else // BSD
#ifdef __linux__
#include <alloca.h>
#endif // !BSD
#else // *BSD, Illumos, Darwin
#include <stdlib.h>
#endif
#include <strings.h>
#endif // WEBRTC_POSIX

Expand Down

0 comments on commit 373e416

Please sign in to comment.