diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2013-01-02 17:35:56 -0600 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2013-01-02 17:35:56 -0600 |
commit | ec8a40d2381014ad2e72b5da0e6357a85f078f9f (patch) | |
tree | 8c70685e97abf9a3729dfab2db22dd7768f2a071 /src/fcmutex.h | |
parent | 5c0a4f2726fd1440bf3ec4bb375e5e4d146bd989 (diff) | |
download | fontconfig-ec8a40d2381014ad2e72b5da0e6357a85f078f9f.tar.gz |
Fix build and warnings on win32
Diffstat (limited to 'src/fcmutex.h')
-rw-r--r-- | src/fcmutex.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/fcmutex.h b/src/fcmutex.h index b10572c..556a05e 100644 --- a/src/fcmutex.h +++ b/src/fcmutex.h @@ -3,7 +3,7 @@ * * Copyright © 2007 Chris Wilson * Copyright © 2009,2010 Red Hat, Inc. - * Copyright © 2011,2012 Google, Inc. + * Copyright © 2011,2012,2013 Google, Inc. * * Permission is hereby granted, without written agreement and without * license or royalty fees, to use, copy, modify, and distribute this @@ -48,8 +48,7 @@ #elif !defined(FC_NO_MT) && defined(_MSC_VER) || defined(__MINGW32__) -#define WIN32_LEAN_AND_MEAN -#include <windows.h> +#include "fcwindows.h" typedef CRITICAL_SECTION fc_mutex_impl_t; #define FC_MUTEX_IMPL_INIT { NULL, 0, 0, NULL, NULL, 0 } #define fc_mutex_impl_init(M) InitializeCriticalSection (M) |