Skip to content

Commit

Permalink
Merge branch 'yt/netbsd/OTP-10941' into maint
Browse files Browse the repository at this point in the history
* yt/netbsd/OTP-10941:
  Moved ifdef NetBSD to proper place
  reduce bashism
  compilation fix for NetBSD
  compilation fix for NetBSD
  • Loading branch information
rimmius committed Mar 15, 2013
2 parents 9e6214f + b586731 commit 6769824
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion erts/emulator/sys/common/erl_mseg.c
Expand Up @@ -439,7 +439,7 @@ mseg_destroy(ErtsMsegAllctr_t *ma, MemKind* mk, void *seg, Uint size) {
}

#if HAVE_MSEG_RECREATE
#if defined(__NetBsd__)
#if defined(__NetBSD__)
#define MREMAP_FLAGS (0)
#else
#define MREMAP_FLAGS (MREMAP_MAYMOVE)
Expand Down
2 changes: 1 addition & 1 deletion lib/os_mon/c_src/memsup.c
Expand Up @@ -104,7 +104,7 @@
#if !defined (__OpenBSD__) && !defined (__NetBSD__)
#include <vm/vm_param.h>
#endif
#if defined (__FreeBSD__) || defined(__DragonFly__)
#if defined (__FreeBSD__) || defined(__DragonFly__) || defined (__NetBSD__)
#include <sys/vmmeter.h>
#endif
#endif
Expand Down
4 changes: 2 additions & 2 deletions lib/wx/configure.in
Expand Up @@ -71,7 +71,7 @@ WXERL_CAN_BUILD_DRIVER=true

LM_WINDOWS_ENVIRONMENT

if test X"$MIXED_CYGWIN_VC" == X"yes" -o X"$MIXED_MSYS_VC" == X"yes"; then
if test X"$MIXED_CYGWIN_VC" = X"yes" -o X"$MIXED_MSYS_VC" = X"yes"; then
CFLAGS="-Owx"
fi

Expand Down Expand Up @@ -336,7 +336,7 @@ dnl
if test "$cross_compiling" = "yes"; then
echo "Cross compilation of the wx driver is not supported yet, wx will NOT be usable" > ./CONF_INFO
WXERL_CAN_BUILD_DRIVER=false
elif test X"$MIXED_CYGWIN_VC" == X"no" -a X"$MIXED_MSYS_VC" == X"no"; then
elif test X"$MIXED_CYGWIN_VC" = X"no" -a X"$MIXED_MSYS_VC" = X"no"; then
WX_VERSION=`wx-config --version`
case $WX_VERSION in
2.8.*)
Expand Down

0 comments on commit 6769824

Please sign in to comment.