Shadowrun: Awakened 29 September 2011 - Build 871
build_config.h
Go to the documentation of this file.
00001 /*
00002    Copyright 2007 - 2008 MySQL AB, 2008 - 2009 Sun Microsystems, Inc.  All rights reserved.
00003 
00004    The MySQL Connector/C++ is licensed under the terms of the GPL
00005    <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most
00006    MySQL Connectors. There are special exceptions to the terms and
00007    conditions of the GPL as it is applied to this software, see the
00008    FLOSS License Exception
00009    <http://www.mysql.com/about/legal/licensing/foss-exception.html>.
00010 */
00011 
00012 #ifndef _SQL_BUILD_CONFIG_H_
00013 #define _SQL_BUILD_CONFIG_H_
00014 
00015 #ifndef CPPCONN_PUBLIC_FUNC
00016 
00017 #if defined(_WIN32)
00018  // mysqlcppconn_EXPORTS is added by cmake and defined for dynamic lib build only
00019   #ifdef mysqlcppconn_EXPORTS
00020     #define CPPCONN_PUBLIC_FUNC __declspec(dllexport)
00021   #else
00022     // this is for static build
00023     #ifdef CPPCONN_LIB_BUILD
00024       #define CPPCONN_PUBLIC_FUNC
00025     #else
00026       // this is for clients using dynamic lib
00027       #define CPPCONN_PUBLIC_FUNC __declspec(dllimport)
00028     #endif
00029   #endif
00030 #else
00031   #define CPPCONN_PUBLIC_FUNC
00032 #endif
00033 
00034 #endif    //#ifndef CPPCONN_PUBLIC_FUNC
00035 
00036 #endif    //#ifndef _SQL_BUILD_CONFIG_H_

Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.

GNU Lesser General Public License 3 Sourceforge.net