alloy/macvim — pull request #85 by mikecanann (2014-07-30 15:12:48+00:00)
Title: fixed compiler error

This change fixed a compiler error on mac os 10.9.

gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MACVIM -Wall -Wno-unknown-pragmas -pipe -DMACOS_X_UNIX -no-cpp-precomp -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/os_unix.o os_unix.c
os_unix.c:830:46: warning: declaration of 'struct sigaltstack' will not be visible outside of this function [-Wvisibility]
extern int sigaltstack __ARGS((const struct sigaltstack *ss, struct sigaltstack *oss));
^
./os_unix.h:88:21: note: expanded from macro '__ARGS'
# define __ARGS(x) x
^
os_unix.c:830:13: error: conflicting types for 'sigaltstack'
extern int sigaltstack __ARGS((const struct sigaltstack *ss, struct sigaltstack *oss));
^
/usr/include/signal.h:85:5: note: previous declaration is here
int sigaltstack(const stack_t * __restrict, stack_t * __restrict) __DARWIN_ALIAS(sigaltstack);
^
1 warning and 1 error generated.
make: *** [objects/os_unix.o] Error 1