]> git.saurik.com Git - wxWidgets.git/blobdiff - build/osx/wx.xcconfig
Include <fcntl.h> from a header using fcntl().
[wxWidgets.git] / build / osx / wx.xcconfig
index feec39be09eb5a88016dc9191523a38237d10c75..032c3b4af79b3b74cdcba9c892c256e2ac2ab59b 100644 (file)
@@ -5,15 +5,14 @@
 WXPLATFORM = __WXOSX_$(WXTOOLKITUPPER)__
 PRODUCT_NAME = wx_osx_$(WXTOOLKIT)
 
-// USER_HEADER_SEARCH_PATHS = ${SYMROOT}/include ../include osx/carbon/morefilex common jpeg png regex expat/lib tiff/libtiff stc stc/scintilla/include stc/scintilla/src
-
+OTHER_CFLAGS = -Wall -Wundef -fno-strict-aliasing -fno-common -fvisibility=hidden 
+OTHER_CPLUSPLUSFLAGS = $(OTHER_CFLAGS) -fvisibility-inlines-hidden
 
 GCC_PREFIX_HEADER = $(WXROOT)/include/wx/wxprec.h
 GCC_PRECOMPILE_PREFIX_HEADER = YES
-HEADER_SEARCH_PATHS = $(WXROOT)/src/tiff/libtiff
-USER_HEADER_SEARCH_PATHS = $(WXROOT)/include $(WXROOT)/build/osx/setup/$(WXTOOLKIT)/include $(WXROOT)/src/jpeg $(WXROOT)/src/png $(WXROOT)/src/regex $(WXROOT)/src/expat/lib $(WXROOT)/src/tiff/libtiff $(WXROOT)/src/stc/scintilla/src $(WXROOT)/src/stc/scintilla/include
+HEADER_SEARCH_PATHS = "$(WXROOT)/src/tiff/libtiff"
+USER_HEADER_SEARCH_PATHS = "$(WXROOT)/include" "$(WXROOT)/build/osx/setup/$(WXTOOLKIT)/include" "$(WXROOT)/src/jpeg" "$(WXROOT)/src/png" "$(WXROOT)/src/regex" "$(WXROOT)/src/expat/lib" "$(WXROOT)/src/tiff/libtiff" "$(WXROOT)/src/stc/scintilla/src" "$(WXROOT)/src/stc/scintilla/include" "$(WXROOT)/src/stc/scintilla/lexlib"
 ALWAYS_SEARCH_USER_PATHS = NO
-GCC_PREPROCESSOR_DEFINITIONS = $(WXPLATFORM) NO_GCC_PRAGMA __WX__ wxUSE_BASE=1 _FILE_OFFSET_BITS=64 _LARGE_FILES MACOS_CLASSIC __WXMAC_XCODE__=1 SCI_LEXER WX_PRECOMP=1
+GCC_PREPROCESSOR_DEFINITIONS = $(WX_PREPROCESSOR_DEFINITIONS) $(WXPLATFORM) __WX__ wxUSE_BASE=1 _FILE_OFFSET_BITS=64 _LARGE_FILES MACOS_CLASSIC __WXMAC_XCODE__=1 SCI_LEXER WX_PRECOMP=1 wxUSE_UNICODE_UTF8=0 wxUSE_UNICODE_WCHAR=1
 GCC_PFE_FILE_C_DIALECTS = c++ objective-c++
-// USE_HEADERMAP = NO
-// USE_SEPARATE_HEADERMAPS = YES
+GCC_C_LANGUAGE_STANDARD = gnu99