summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/google-perftools/files/google-perftools-1.7-syntax.patch')
-rw-r--r--dev-util/google-perftools/files/google-perftools-1.7-syntax.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-util/google-perftools/files/google-perftools-1.7-syntax.patch b/dev-util/google-perftools/files/google-perftools-1.7-syntax.patch
new file mode 100644
index 000000000000..c9226a98a625
--- /dev/null
+++ b/dev-util/google-perftools/files/google-perftools-1.7-syntax.patch
@@ -0,0 +1,13 @@
+Index: google-perftools-1.7/src/google/malloc_hook_c.h
+===================================================================
+--- google-perftools-1.7.orig/src/google/malloc_hook_c.h
++++ google-perftools-1.7/src/google/malloc_hook_c.h
+@@ -40,7 +40,7 @@
+ #include <stddef.h>
+ #include <sys/types.h>
+
+-// Annoying stuff for windows -- makes sure clients can import these functions
++/* Annoying stuff for windows -- makes sure clients can import these functions */
+ #ifndef PERFTOOLS_DLL_DECL
+ # ifdef _WIN32
+ # define PERFTOOLS_DLL_DECL __declspec(dllimport)