00001 /* -*-c++-*- */ 00002 /* 00003 * $Id: CgiDefs_8h-source.html,v 1.1.1.3 2004/06/19 04:36:23 chrisb Exp $ 00004 * 00005 * Copyright (C) 1996 - 2003 Stephen F. Booth 00006 * 00007 * This library is free software; you can redistribute it and/or 00008 * modify it under the terms of the GNU Lesser General Public 00009 * License as published by the Free Software Foundation; either 00010 * version 2.1 of the License, or (at your option) any later version. 00011 * 00012 * This library is distributed in the hope that it will be useful, 00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00015 * Lesser General Public License for more details. 00016 * 00017 * You should have received a copy of the GNU Lesser General Public 00018 * License along with this library; if not, write to the Free Software 00019 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00020 */ 00021 00022 #ifndef _CGIDEFS_H_ 00023 #define _CGIDEFS_H_ 1 00024 00032 // Include information from configure 00033 #if HAVE_CONFIG_H 00034 # include "config.h" 00035 #endif 00036 00044 // Win32-specific setup 00045 #ifdef WIN32 00046 00047 // export library symbols 00048 # ifdef CGICC_EXPORTS 00049 # define CGICC_API __declspec(dllexport) 00050 # else 00051 # define CGICC_API __declspec(dllimport) 00052 # endif 00053 00054 # define HOST "Win32" 00055 # define VERSION "3.2.3" 00056 00057 #else 00058 # define CGICC_API 00059 #endif /* WIN32 */ 00060 00061 #endif /* ! _CGIDEFS_H_ */