Author: wyoung
Date: Fri Dec 28 11:41:00 2007
New Revision: 2040

URL: http://svn.gna.org/viewcvs/mysqlpp?rev=2040&view=rev
Log:
Added MYSQLPP_EXPORT link specs on Date, DateTime, and Time class defns

Modified:
    trunk/lib/datetime.h

Modified: trunk/lib/datetime.h
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/datetime.h?rev=2040&r1=2039&r2=2040&view=diff
==============================================================================
--- trunk/lib/datetime.h (original)
+++ trunk/lib/datetime.h Fri Dec 28 11:41:00 2007
@@ -109,7 +109,7 @@
 /// "NOW()", allowing the database server to set the value.  In older
 /// versions of MySQL++, you'd get a "zero time" instead.
 
-struct DateTime : public DTbase<DateTime>
+struct MYSQLPP_EXPORT DateTime : public DTbase<DateTime>
 {
        unsigned short year;    ///< the year, as a simple integer
        unsigned char month;    ///< the month, 1-12
@@ -230,7 +230,7 @@
 ///
 /// Objects of this class can be inserted into streams, and
 /// initialized from MySQL DATE strings.
-struct Date : public DTbase<Date>
+struct MYSQLPP_EXPORT Date : public DTbase<Date>
 {
        unsigned short year;    ///< the year, as a simple integer
        unsigned char month;    ///< the month, 1-12
@@ -302,7 +302,7 @@
 ///
 /// Objects of this class can be inserted into streams, and
 /// initialized from MySQL TIME strings.
-struct Time : public DTbase<Time>
+struct MYSQLPP_EXPORT Time : public DTbase<Time>
 {
        unsigned char hour;             ///< the hour, 0-23
        unsigned char minute;   ///< the minute, 0-59


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

Reply via email to