Skip to content

Commit

Permalink
Remove private feature macros for Solaris from compiler flags
Browse files Browse the repository at this point in the history
  • Loading branch information
pietern committed Jun 18, 2011
1 parent 2cd4645 commit 367ac44
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ CC:=$(shell sh -c 'type $(CC) 2>/dev/null 1>/dev/null && echo $(CC) || echo gcc'
uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')
OPTIMIZATION?=-O3
ifeq ($(uname_S),SunOS)
CFLAGS?=$(OPTIMIZATION) -fPIC -Wall -W -D__EXTENSIONS__ -D_XPG6 $(ARCH) $(PROF)
CFLAGS?=$(OPTIMIZATION) -fPIC -Wall -W $(ARCH) $(PROF)
CCLINK?=-ldl -lnsl -lsocket
LDFLAGS?=-L.
DYLIBSUFFIX=so
Expand Down
1 change: 1 addition & 0 deletions async.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/

#include "fmacros.h"
#include <string.h>
#include <strings.h>
#include <assert.h>
Expand Down
1 change: 1 addition & 0 deletions test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include "fmacros.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Expand Down

0 comments on commit 367ac44

Please sign in to comment.