com php-src: fix build of intl/calendar: ext/intl/calendar/cale ndar_methods.cpp
| From: | Nuno Lopes | Date: | Sun, 03 Dec 2017 22:58:40 +0000 |
| Subject: | com php-src: fix build of intl/calendar: ext/intl/calendar/cale ndar_methods.cpp | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-100474@lists.php.net to get a copy of this message | ||
Commit: 7b085635d71b44c15d1057049c0cf38ff15d4a09
Author: Nuno Lopes <nlopess@php.net> Sun, 3 Dec 2017 17:58:40 -0500
Parents: d39a9f8ddb4311cfec2dfc6109f2bfa862733252
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=7b085635d71b44c15d1057049c0cf38ff15d4a09
Log:
fix build of intl/calendar
Changed paths:
M ext/intl/calendar/calendar_methods.cpp
Diff:
diff --git a/ext/intl/calendar/calendar_methods.cpp b/ext/intl/calendar/calendar_methods.cpp
index ce23a00..8ed3da2 100644
--- a/ext/intl/calendar/calendar_methods.cpp
+++ b/ext/intl/calendar/calendar_methods.cpp
@@ -18,6 +18,9 @@
#include "config.h"
#endif
+#define __STDC_FORMAT_MACROS
+#include <inttypes.h>
+
#include "../intl_cppshims.h"
#include <unicode/locid.h>