X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3fa056ab78be920eacac56e51864fe7a45d1a31a..f3ba93c1f025870aeda36082acecc87ab277ab7d:/src/unix/descrip.mms diff --git a/src/unix/descrip.mms b/src/unix/descrip.mms index 338d2e82f0..ffc126bfe1 100644 --- a/src/unix/descrip.mms +++ b/src/unix/descrip.mms @@ -9,12 +9,24 @@ define wx [--.include.wx] .ifdef __WXMOTIF__ -CXX_DEFINE = /define=(__WXMOTIF__=1) +CXX_DEFINE = /define=(__WXMOTIF__=1)/name=(as_is,short)\ + /assume=(nostdnew,noglobal_array_new) +CC_DEFINE = /define=(__WXMOTIF__=1)/name=(as_is,short) .else .ifdef __WXGTK__ -CXX_DEFINE = /define=(__WXGTK__=1) +.ifdef __WXUNIVERSAL__ +CXX_DEFINE = /define=(__WXGTK__=1,__WXUNIVERSAL__==1)/float=ieee\ + /name=(as_is,short)/ieee=denorm/assume=(nostdnew,noglobal_array_new) +CC_DEFINE = /define=(__WXGTK__=1,__WXUNIVERSAL__==1)/float=ieee\ + /name=(as_is,short)/ieee=denorm +.else +CXX_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm\ + /assume=(nostdnew,noglobal_array_new) +CC_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm +.endif .else CXX_DEFINE = +CC_DEFINE = .endif .endif @@ -23,7 +35,7 @@ CXX_DEFINE = .cpp.obj : cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp .c.obj : - cc $(CFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).c + cc $(CFLAGS)$(CC_DEFINE) $(MMS$TARGET_NAME).c OBJECTS = \ dialup.obj,\ @@ -51,9 +63,13 @@ all : $(SOURCES) library [--.lib]libwx_motif.olb $(OBJECTS) .else .ifdef __WXGTK__ +.ifdef __WXUNIVERSAL__ + library [--.lib]libwx_gtk_univ.olb $(OBJECTS) +.else library [--.lib]libwx_gtk.olb $(OBJECTS) .endif .endif +.endif dialup.obj : dialup.cpp dir.obj : dir.cpp