/usr/include/Wt/Dbo/backend/WDboPostgresDllDefs.h is in libwtdbo-dev 3.3.0-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | // This may look like C code, but it's really -*- C++ -*-
/*
* Copyright (C) 2010 Emweb bvba, Leuven, Belgium.
*
* See the LICENSE file for terms of use.
*/
#ifndef WDBOPOSTGRESDLLDEFS_H_
#define WDBOPOSTGRESDLLDEFS_H_
#include <Wt/WConfig.h>
// Source: http://www.nedprod.com/programs/gccvisibility.html
#ifdef WIN32
#define WTDBOPOSTGRES_IMPORT __declspec(dllimport)
#define WTDBOPOSTGRES_EXPORT __declspec(dllexport)
#define WTDBOPOSTGRES_DLLLOCAL
#define WTDBOPOSTGRES_DLLPUBLIC
#else
#ifdef GCC_HASCLASSVISIBILITY
#define WTDBOPOSTGRES_IMPORT __attribute__ ((visibility("default")))
#define WTDBOPOSTGRES_EXPORT __attribute__ ((visibility("default")))
#define WTDBOPOSTGRES_DLLLOCAL __attribute__ ((visibility("hidden")))
#define WTDBOPOSTGRES_DLLPUBLIC __attribute__ ((visibility("default")))
#else
#define WTDBOPOSTGRES_IMPORT
#define WTDBOPOSTGRES_EXPORT
#define WTDBOPOSTGRES_DLLLOCAL
#define WTDBOPOSTGRES_DLLPUBLIC
#endif
#endif
#ifdef WIN32
#ifdef wtdbopostgres_EXPORTS
#define WTDBOPOSTGRES_API WTDBOPOSTGRES_EXPORT
#else
#ifdef WTDBOPOSTGRES_STATIC
#define WTDBOPOSTGRES_API
#else
#define WTDBOPOSTGRES_API WTDBOPOSTGRES_IMPORT
#endif
#endif
#else
#define WTDBOPOSTGRES_API
#endif
#endif // DLLDEFS_H_
|