cvs: gd /libgd/src gd_color_map.h
[email protected] ("Takeshi Abe") Sun, 23 Nov 2008 14:26:55 -0000
| Newsgroups | php.gd.cvs |
|---|---|
| Message-ID | <cvstabe1227450415@cvsserver> |
tabe Sun Nov 23 14:26:55 2008 UTC
Modified files:
/gd/libgd/src gd_color_map.h
Log:
rearranged the cpp lines for installation
http://cvs.php.net/viewvc.cgi/gd/libgd/src/gd_color_map.h?r1=1.1&r2=1.2&diff_format=u
Index: gd/libgd/src/gd_color_map.h
diff -u gd/libgd/src/gd_color_map.h:1.1 gd/libgd/src/gd_color_map.h:1.2
--- gd/libgd/src/gd_color_map.h:1.1 Tue Aug 5 15:00:51 2008
+++ gd/libgd/src/gd_color_map.h Sun Nov 23 14:26:54 2008
@@ -1,11 +1,11 @@
-#ifdef __cplusplus
-extern "C" {
-#endif
-
#ifndef GD_COLOR_MAP_H
#define GD_COLOR_MAP_H 1
-#include "gd.h"
+#include <gd.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
typedef struct {
char *color_name;
@@ -23,8 +23,8 @@
BGD_DECLARE(int) gdColorMapLookup(const gdColorMap color_map, const char *color_name, int *r, int *g, int *b);
-#endif
-
#ifdef __cplusplus
}
#endif
+
+#endif