]> granicus.if.org Git - graphviz/commitdiff
Add include file for standard unix functions we have to provide
authorerg <devnull@localhost>
Thu, 27 Jul 2006 03:08:11 +0000 (03:08 +0000)
committererg <devnull@localhost>
Thu, 27 Jul 2006 03:08:11 +0000 (03:08 +0000)
for systems like Windows

compat.h [new file with mode: 0644]

diff --git a/compat.h b/compat.h
new file mode 100644 (file)
index 0000000..a398721
--- /dev/null
+++ b/compat.h
@@ -0,0 +1,9 @@
+#ifndef COMPAT_H
+#define COMPAT_H
+#ifndef HAVE_STRCASECMP
+extern int strcasecmp(const char*, const char*);
+#endif
+#ifndef HAVE_STRNCASECMP
+extern int strncasecmp(const char*, const char*, unsigned int);
+#endif
+#endif