Skip to content

Instantly share code, notes, and snippets.

@weltling
Created September 18, 2013 08:09
Show Gist options
  • Save weltling/6606099 to your computer and use it in GitHub Desktop.
Save weltling/6606099 to your computer and use it in GitHub Desktop.
php sundown patch
$ diff -u sundown.orig/src/buffer.h sundown/src/buffer.h
--- sundown.orig/src/buffer.h Sun Sep 30 10:00:24 2012
+++ sundown/src/buffer.h Wed Sep 18 10:04:26 2013
@@ -20,7 +20,11 @@
#include <stddef.h>
#include <stdarg.h>
-#include <stdint.h>
+#ifdef PHP_WIN32
+# include "win32/php_stdint.h"
+#else
+# include <stdint.h>
+#endif
#ifdef __cplusplus
extern "C" {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment