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:
wtc%netscape.com 2000-04-03 17:51:02 +00:00
Родитель 7bee348390
Коммит 0f17d29b19
3 изменённых файлов: 5 добавлений и 9 удалений

Просмотреть файл

@ -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