Skip to content

Commit bcda6de

Browse files
author
maxiao
committed
Solve the macos compilation issue (#1077)
1 parent e3194f4 commit bcda6de

File tree

1 file changed

+3
-1
lines changed
  • portable/ThirdParty/GCC/Posix

1 file changed

+3
-1
lines changed

portable/ThirdParty/GCC/Posix/port.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@
6161
#include <string.h>
6262
#include <sys/time.h>
6363
#include <sys/times.h>
64-
#include <sys/prctl.h>
64+
#ifndef __APPLE__
65+
#include <sys/prctl.h>
66+
#endif
6567
#include <time.h>
6668
#include <unistd.h>
6769

0 commit comments

Comments
 (0)