Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Bug 1602288 - Fix build failure due to missing posix signal.h r=kjacobs
--HG--
extra : amend_source : 148bed5b8668929f9331ff7005f4042d743412bc
  • Loading branch information
giuliobenetti committed Dec 19, 2019
1 parent 7f5a021 commit 6819c33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion coreconf/Linux.mk
Expand Up @@ -21,7 +21,7 @@ ifeq ($(USE_PTHREADS),1)
endif

DEFAULT_COMPILER = gcc
DEFINES += -D_DEFAULT_SOURCE -D_BSD_SOURCE
DEFINES += -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE

ifeq ($(OS_TARGET),Android)
ifndef ANDROID_NDK
Expand Down
1 change: 1 addition & 0 deletions coreconf/config.gypi
Expand Up @@ -358,6 +358,7 @@
'linux',
'_DEFAULT_SOURCE', # for <endian.h> functions, strdup, realpath, and getentropy
'_BSD_SOURCE', # for the above in glibc <= 2.19
'_POSIX_SOURCE', # for <signal.h>
],
}],
[ 'OS=="dragonfly" or OS=="freebsd"', {
Expand Down

0 comments on commit 6819c33

Please sign in to comment.