Kaydet (Commit) 70fc3a29 authored tarafından Thomas Arnhold's avatar Thomas Arnhold

remove some external header guards

Change-Id: I5a51dc496835f0998a3422f2a1f0f2ff8bb3c13f
üst 3c56e0b8
--- misc/mysql-connector-c++-1.1.0/cppconn/build_config.h 2010-09-10 11:47:47.000000000 +0200
+++ misc/build/mysql-connector-c++-1.1.0/cppconn/build_config.h 2011-11-12 00:45:19.000000000 +0100
@@ -25,25 +25,23 @@
@@ -25,25 +25,21 @@
#ifndef _SQL_BUILD_CONFIG_H_
#define _SQL_BUILD_CONFIG_H_
-#ifndef CPPCONN_PUBLIC_FUNC
+#ifndef _SAL_TYPES_H_
+#include <sal/types.h>
+#endif
-#if defined(_WIN32)
// mysqlcppconn_EXPORTS is added by cmake and defined for dynamic lib build only
......
......@@ -452,9 +452,7 @@ open OUT, ("> " . $filename) or die "Cannot write " . $filename;
}
print OUT "\n",
"#ifndef _SAL_TYPES_H_\n",
"#include \"sal/types.h\"\n",
"#endif\n",
"\n";
print OUT "static sal_uInt16 const aImpl", $id, "ToUnicodeData[] = {\n";
......
......@@ -16,9 +16,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef _SAL_TYPES_H_
#include "sal/types.h"
#endif
static sal_uInt16 const aImplBig5Hkscs2001ToUnicodeData[] = {
/* row 0: --- */
......
......@@ -433,9 +433,7 @@ open OUT, ("> " . $filename) or die "Cannot write " . $filename;
}
print OUT "\n",
"#ifndef _SAL_TYPES_H_\n",
"#include \"sal/types.h\"\n",
"#endif\n",
"\n";
print OUT "static sal_uInt16 const aImpl", $id, "ToUnicodeData[] = {\n";
......
......@@ -16,9 +16,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef _SAL_TYPES_H_
#include "sal/types.h"
#endif
static sal_uInt16 const aImplCns116431992ToUnicodeData[] = {
/* plane 1, row 1 */
......@@ -224,13 +224,9 @@ open OUT, ("> " . $filename) or die "Cannot write " . $filename;
}
print OUT "\n",
"#ifndef INCLUDED_RTL_TEXTENC_CONVERTGB18030_H\n",
"#include \"convertgb18030.h\"\n",
"#endif\n",
"\n",
"#ifndef _SAL_TYPES_H_\n",
"#include \"sal/types.h\"\n",
"#endif\n",
"\n";
print OUT "static sal_Unicode const aImpl", $id, "ToUnicodeData[] = {\n ";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment