From b5144c480df271d17f9d02cccc774ed8a973f4c8 Mon Sep 17 00:00:00 2001 From: dimitr Date: Fri, 22 Nov 2002 14:11:28 +0000 Subject: [PATCH] Cleanup by Dimitry Sibiryakov. --- configure.in | 10 +++++----- src/include/fb_types.h | 5 ++--- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/configure.in b/configure.in index d1affdcaca..04aa6b2f7d 100644 --- a/configure.in +++ b/configure.in @@ -1,4 +1,4 @@ -dnl $Id: configure.in,v 1.95 2002-11-21 11:54:34 kkuznetsov Exp $ +dnl $Id: configure.in,v 1.96 2002-11-22 14:11:28 dimitr Exp $ dnl ############################# INITIALISATION ############################### @@ -273,7 +273,7 @@ AC_CHECK_FUNCS(gettimeofday) if test "$ac_cv_func_gettimeofday" = "yes"; then dnl EKU: SINIX-Z has no prototype for gettimeofday() so the following test dnl will always succeed, which is wrong. - case $PLATFORM in + case "$PLATFORM" in SINIX-Z) ;; *) @@ -385,7 +385,7 @@ dnl volunters are welcome! dnl EKU: Add any platform specific tests below -case $PLATFORM in +case "$PLATFORM" in LINUX) dnl MOD: Check for /proc/self/exe mainly used on linux systems dnl this is used to determine path to executable file. @@ -597,7 +597,7 @@ MAKE_SRC_DIR=builds/posix dnl EKU: handle platform specific installation and packaging -case $PLATFORM in +case "$PLATFORM" in LINUX) mkdir -p gen/install/scripts mkdir -p gen/install/misc @@ -705,7 +705,7 @@ esac echo "Service name : $FB_SERVICE_NAME" echo "Service port : $FB_SERVICE_PORT" -case $PLATFORM in +case "$PLATFORM" in win32) echo " Pipe name : $FB_PIPE_NAME";; esac diff --git a/src/include/fb_types.h b/src/include/fb_types.h index 5357f338ac..793f50a225 100644 --- a/src/include/fb_types.h +++ b/src/include/fb_types.h @@ -27,7 +27,7 @@ * Mark O'Donohue * * - * $Id: fb_types.h,v 1.8 2002-09-11 11:30:44 eku Exp $ + * $Id: fb_types.h,v 1.9 2002-11-22 14:09:36 dimitr Exp $ * * 2002.02.15 Sean Leyne - Code Cleanup, removed obsolete "OS/2" port * @@ -43,8 +43,7 @@ #endif -#if (defined(_MSC_VER) && defined(_WIN32)) || \ - (defined(__BORLANDC__) && defined(__WIN32__)) +#if defined(WIN32) || defined(_WIN32) || defined(__WIN32__) # define GDS_EXPORT __stdcall #else # define GDS_EXPORT