CgiDefs.h | CgiDefs.h | |||
---|---|---|---|---|
/* -*-c++-*- */ | /* -*-c++-*- */ | |||
/* | /* | |||
* $Id: CgiDefs.h.in,v 1.4 1999/08/17 17:16:07 sbooth Exp $ | * $Id: CgiDefs.h.in,v 1.5 1999/10/05 16:16:07 sbooth Exp $ | |||
* | * | |||
* Copyright (C) 1996, 1997, 1998, 1999 Stephen F. Booth | * Copyright (C) 1996, 1997, 1998, 1999 Stephen F. Booth | |||
* | * | |||
* This program is free software; you can redistribute it and/or modify | * This program is free software; you can redistribute it and/or modify | |||
* it under the terms of the GNU General Public License as published by | * it under the terms of the GNU General Public License as published by | |||
* the Free Software Foundation; either version 2 of the License, or | * the Free Software Foundation; either version 2 of the License, or | |||
* (at your option) any later version. | * (at your option) any later version. | |||
* | * | |||
* This program is distributed in the hope that it will be useful, | * This program is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
skipping to change at line 27 | skipping to change at line 27 | |||
* You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | |||
* along with this program; if not, write to the Free Software | * along with this program; if not, write to the Free Software | |||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 U SA | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 U SA | |||
*/ | */ | |||
#ifndef _CGIDEFS_H_ | #ifndef _CGIDEFS_H_ | |||
#define _CGIDEFS_H_ 1 | #define _CGIDEFS_H_ 1 | |||
// Include information from configure | // Include information from configure | |||
#if HAVE_CONFIG_H | #if HAVE_CONFIG_H | |||
# include "cgicc/config.h" | # include "config.h" | |||
#endif | #endif | |||
// Win32-specific setup | // Win32-specific setup | |||
#ifdef WIN32 | #ifdef WIN32 | |||
// always use namespaces | // always use namespaces | |||
# define CGICC_USE_NAMESPACES 1 | # define CGICC_USE_NAMESPACES 1 | |||
// export library symbols | // export library symbols | |||
# ifdef CGICC_EXPORTS | # ifdef CGICC_EXPORTS | |||
# define CGICC_API __declspec(dllexport) | # define CGICC_API __declspec(dllexport) | |||
# else | # else | |||
# define CGICC_API __declspec(dllimport) | # define CGICC_API __declspec(dllimport) | |||
# endif | # endif | |||
# define HOST "Win32" | # define HOST "Win32" | |||
# define VERSION "3.1.1" | # define VERSION "3.1.2" | |||
#else | #else | |||
# define CGICC_USE_NAMESPACES 1 | # define CGICC_USE_NAMESPACES 1 | |||
# define CGICC_API | # define CGICC_API | |||
#endif /* WIN32 */ | #endif /* WIN32 */ | |||
// Handle namespaces | // Handle namespaces | |||
#if CGICC_USE_NAMESPACES | #if CGICC_USE_NAMESPACES | |||
# define CGICC_BEGIN_NAMESPACE namespace cgicc { | # define CGICC_BEGIN_NAMESPACE namespace cgicc { | |||
# define CGICC_END_NAMESPACE } | # define CGICC_END_NAMESPACE } | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added | |||