Author: wyoung
Date: Fri May  2 00:41:58 2008
New Revision: 2281

URL: http://svn.gna.org/viewcvs/mysqlpp?rev=2281&view=rev
Log:
Was erroneously hiding all stdint.h typedefs inside namespace mysqlpp,
so other code needing them couldn't find them.  Including the header
again wasn't effective due to the idempotency guard.

Modified:
    trunk/lib/sql_types.h

Modified: trunk/lib/sql_types.h
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/sql_types.h?rev=2281&r1=2280&r2=2281&view=diff
==============================================================================
--- trunk/lib/sql_types.h (original)
+++ trunk/lib/sql_types.h Fri May  2 00:41:58 2008
@@ -36,6 +36,10 @@
 
 #include <string>
 
+#if !defined(MYSQLPP_NO_STDINT_H)
+#      include <stdint.h>
+#endif
+
 namespace mysqlpp {
 
 #if !defined(DOXYGEN_IGNORE)
@@ -59,7 +63,6 @@
 #else
        // Assume a system where C99 is supported in C++ in advance of
        // actual standardization, so we can do this portably.
-#      include <stdint.h>
        typedef tiny_int<int8_t>                sql_tinyint;
        typedef tiny_int<uint8_t>               sql_tinyint_unsigned;
        typedef int16_t                                 sql_smallint;


_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits

Reply via email to