From: behdad Date: Thu, 5 Apr 2007 16:13:24 +0000 (+0000) Subject: Check for (defined(WIN32)) || (defined(_WIN32_WCE)) to detect WinCE too X-Git-Tag: FRIBIDI_0_19_1~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=28dc6041e9f0074c68ce23a67a3b5f0ff3717241;p=fribidi Check for (defined(WIN32)) || (defined(_WIN32_WCE)) to detect WinCE too --- diff --git a/lib/common.h b/lib/common.h index 4da2601..9802348 100644 --- a/lib/common.h +++ b/lib/common.h @@ -1,10 +1,10 @@ /* FriBidi * common.h - common include for library sources * - * $Id: common.h,v 1.17 2006-01-31 03:23:12 behdad Exp $ + * $Id: common.h,v 1.18 2007-04-05 16:13:24 behdad Exp $ * $Author: behdad $ - * $Date: 2006-01-31 03:23:12 $ - * $Revision: 1.17 $ + * $Date: 2007-04-05 16:13:24 $ + * $Revision: 1.18 $ * $Source: /home/behdad/src/fdo/fribidi/togit/git/../fribidi/fribidi2/lib/common.h,v $ * * Author: @@ -43,7 +43,7 @@ # define FRIBIDI_PRIVATESPACE(SYMBOL) FRIBIDI_NAMESPACE(_##SYMBOL##__internal__) #endif /* !FRIBIDI_PRIVATESPACE */ -#if WIN32+0 +#if (defined(WIN32)) || (defined(_WIN32_WCE)) # define FRIBIDI_ENTRY __declspec(dllexport) #endif /* WIN32 */ diff --git a/lib/fribidi-common.h b/lib/fribidi-common.h index 7e63b26..9b33f43 100644 --- a/lib/fribidi-common.h +++ b/lib/fribidi-common.h @@ -1,10 +1,10 @@ /* FriBidi * fribidi-common.h - common include for library headers * - * $Id: fribidi-common.h,v 1.12 2006-01-31 03:23:13 behdad Exp $ + * $Id: fribidi-common.h,v 1.13 2007-04-05 16:13:24 behdad Exp $ * $Author: behdad $ - * $Date: 2006-01-31 03:23:13 $ - * $Revision: 1.12 $ + * $Date: 2007-04-05 16:13:24 $ + * $Revision: 1.13 $ * $Source: /home/behdad/src/fdo/fribidi/togit/git/../fribidi/fribidi2/lib/fribidi-common.h,v $ * * Author: @@ -53,7 +53,7 @@ /* FRIBIDI_ENTRY is a macro used to declare library entry points. */ #ifndef FRIBIDI_ENTRY -# ifdef WIN32 +# if (defined(WIN32)) || (defined(_WIN32_WCE)) # define FRIBIDI_ENTRY __declspec(dllimport) # else /* !WIN32 */ # define FRIBIDI_ENTRY /* empty */