Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

prevent compiler from including common.h more than once

  • Loading branch information...
commit 006fe0b4c21595c039724e692954305dc27052fb 1 parent 45a564d
@benlemasurier benlemasurier authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 common.h
View
4 common.h
@@ -1,3 +1,5 @@
+#ifndef MYSQLUDF_COMMON_H
+#define MYSQLUDF_COMMON_H
#define DLLEXP
#include <string.h>
@@ -22,4 +24,4 @@ typedef long long longlong;
#define ERRMSG_SIZE 1000
extern mongo mongodb_connection[1];
-
+#endif /* MYSQLUDF_COMMON_H */
Please sign in to comment.
Something went wrong with that request. Please try again.