Do not define MemoryBarrier on WinCE
authorKonstantin Ritt <ritt.ks@gmail.com>
Sun, 25 Jan 2015 04:16:26 +0000 (08:16 +0400)
committerKonstantin Ritt <ritt.ks@gmail.com>
Sun, 25 Jan 2015 04:16:26 +0000 (08:16 +0400)
There is a _HBMemoryBarrier() wrapper function that emulates
MemoryBarrier() behavior when it is not defined.

src/hb-private.hh

index 8438fae..c316c01 100644 (file)
 
 #ifdef _WIN32_WCE
 /* Some things not defined on Windows CE. */
-#define MemoryBarrier()
 #define getenv(Name) NULL
 #define setlocale(Category, Locale) "C"
 static int errno = 0; /* Use something better? */