]> granicus.if.org Git - fribidi/commitdiff
Check for (defined(WIN32)) || (defined(_WIN32_WCE)) to detect WinCE too
authorbehdad <behdad>
Thu, 5 Apr 2007 16:13:24 +0000 (16:13 +0000)
committerbehdad <behdad>
Thu, 5 Apr 2007 16:13:24 +0000 (16:13 +0000)
lib/common.h
lib/fribidi-common.h

index 4da26013b552a97b718875beb77dddd71f1388bf..98023489c0e37e7c4938e5f6a8c53df6e46d3a55 100644 (file)
@@ -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 */
 
index 7e63b26f71f36b57aa011e8ec34cc98aee9462e6..9b33f4356c17ab4ff17b33d4347313728483c7a6 100644 (file)
@@ -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 */