com php-src: avoid clash when stdint.h was included after win32/php_stdint.h: win32/php_stdint.h
| From: | Anatol Belski | Date: | Thu, 21 Aug 2014 07:08:44 +0000 |
| Subject: | com php-src: avoid clash when stdint.h was included after win32/php_stdint.h: win32/php_stdint.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-80656@lists.php.net to get a copy of this message | ||
Commit: 713e9a7eaa8344061aad0883829c42a651691c34
Author: Anatol Belski <ab@php.net> Thu, 21 Aug 2014 09:08:44 +0200
Parents: 6da2a977fc9acc8463b61a0ce0acdead9c651084
Branches: PHP-5.5 PHP-5.6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=713e9a7eaa8344061aad0883829c42a651691c34
Log:
avoid clash when stdint.h was included after win32/php_stdint.h
Changed paths:
M win32/php_stdint.h
Diff:
diff --git a/win32/php_stdint.h b/win32/php_stdint.h
index 0d63615..cb5ad17 100644
--- a/win32/php_stdint.h
+++ b/win32/php_stdint.h
@@ -36,6 +36,10 @@
#ifndef _MSC_STDINT_H_ // [
#define _MSC_STDINT_H_
+#ifndef _STDINT
+# define _STDINT
+#endif
+
#if _MSC_VER > 1000
#pragma once
#endif