зеркало из https://github.com/mozilla/pjs.git
Bugzilla bug #34292: checked in OS/2 patch from Skip Nizinski
<snizinsk@us.ibm.com> to build with the VisualAge C++ compiler which uses the Optlink calling convention. Modified files: prtypes.h, OS2.mk, prlog.c
This commit is contained in:
Родитель
e035638de5
Коммит
f2a8a1bc9f
|
@ -67,8 +67,8 @@ LIB_SUFFIX = lib
|
|||
DLL_SUFFIX = dll
|
||||
OBJ_SUFFIX = obj
|
||||
|
||||
OS_CFLAGS = -W3 -Wcnd- -gm -gd+ -sd- -su4 -ge-
|
||||
OS_EXE_CFLAGS = -W3 -Wcnd- -gm -gd+ -sd- -su4
|
||||
OS_CFLAGS = -W3 -Wcnd- -gm -gd+ -sd- -su4 -ge- -Mp
|
||||
OS_EXE_CFLAGS = -W3 -Wcnd- -gm -gd+ -sd- -su4 -Mp
|
||||
AR_EXTRA_ARGS =
|
||||
|
||||
ifdef BUILD_OPT
|
||||
|
|
|
@ -158,13 +158,9 @@
|
|||
#define PR_IMPLEMENT(__type) __type
|
||||
#define PR_EXTERN_DATA(__type) extern __type
|
||||
#define PR_IMPLEMENT_DATA(__type) __type
|
||||
#define PR_CALLBACK
|
||||
#define PR_CALLBACK _Optlink
|
||||
#define PR_CALLBACK_DECL
|
||||
#ifndef XP_OS2_VACPP
|
||||
#define PR_STATIC_CALLBACK(__x) static __x
|
||||
#else
|
||||
#define PR_STATIC_CALLBACK(__x) static __x _Optlink
|
||||
#endif
|
||||
#define PR_STATIC_CALLBACK(__x) static __x PR_CALLBACK
|
||||
|
||||
#else /* Unix */
|
||||
|
||||
|
|
|
@ -55,7 +55,7 @@ static PRLock *_pr_logLock;
|
|||
|
||||
#endif
|
||||
|
||||
#if defined(XP_PC) && !defined(XP_OS2_VACPP)
|
||||
#if defined(XP_PC)
|
||||
#define strcasecmp stricmp
|
||||
#define strncasecmp strnicmp
|
||||
#endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче