CgiDefs.h
Go to the documentation of this file.
1/* -*-c++-*- */
2/*
3 * $Id: CgiDefs.h.in,v 1.10 2014/04/23 20:55:03 sebdiaz Exp $
4 *
5 * Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org>
6 * 2007 Sebastien DIAZ <sebastien.diaz@gmail.com>
7 * Part of the GNU cgicc library, http://www.gnu.org/software/cgicc
8 *
9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Lesser General Public
11 * License as published by the Free Software Foundation; either
12 * version 3 of the License, or (at your option) any later version.
13 *
14 * This library is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * Lesser General Public License for more details.
18 *
19 * You should have received a copy of the GNU Lesser General Public
20 * License along with this library; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
22 */
23
24#ifndef _CGIDEFS_H_
25#define _CGIDEFS_H_ 1
26
33/*
34// Include information from configure
35#if HAVE_CONFIG_H
36# include "config.h"
37#endif
38*/
46// Win32-specific setup
47#ifdef WIN32
48
49// export library symbols
50# ifdef CGICC_EXPORTS
51# define CGICC_API __declspec(dllexport)
52# else
53# define CGICC_API __declspec(dllimport)
54# endif
55
56# define HOST "Win32"
57# define VERSION "3.2.19"
58
59#else
60# define CGICC_API
61#endif /* WIN32 */
62
63#endif /* ! _CGIDEFS_H_ */