/usr/include/Wt/WDllDefs.h is in libwt-dev 3.3.3+dfsg-4.1.
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 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | // This may look like C code, but it's really -*- C++ -*-
/*
* Copyright (C) 2006 Wim Dumon, Leuven, Belgium.
*
* See the LICENSE file for terms of use.
*/
#ifndef WDLLDEFS_H_
#define WDLLDEFS_H_
// For backward compatibility wrt the WT_VERSION define
#include <Wt/WConfig.h>
// Source: http://www.nedprod.com/programs/gccvisibility.html
#ifdef WT_WIN32
#define WT_IMPORT __declspec(dllimport)
#define WT_EXPORT __declspec(dllexport)
#define WT_DLLLOCAL
#define WT_DLLPUBLIC
#else
#ifdef GCC_HASCLASSVISIBILITY
#define WT_IMPORT __attribute__ ((visibility("default")))
#define WT_EXPORT __attribute__ ((visibility("default")))
#define WT_DLLLOCAL __attribute__ ((visibility("hidden")))
#define WT_DLLPUBLIC __attribute__ ((visibility("default")))
#else
#define WT_IMPORT
#define WT_EXPORT
#define WT_DLLLOCAL
#define WT_DLLPUBLIC
#endif
#endif
// Define wt_EXPORTS for DLL builds
#ifdef WT_WIN32
#ifdef wt_EXPORTS
#define WT_API WT_EXPORT
#else
#ifdef WT_STATIC
#define WT_API
#else
#define WT_API WT_IMPORT
#endif
#endif
#else
#define WT_API
#endif
#ifdef WT_WIN32
#ifdef WTHTTP_STATIC
#define WTCONNECTOR_API
#else
#if defined(wthttp_EXPORTS) || defined(wttest_EXPORTS)
#define WTCONNECTOR_API __declspec(dllexport)
#else
#define WTCONNECTOR_API __declspec(dllimport)
#endif
#endif
#else
#define WTCONNECTOR_API
#endif
#ifndef WT_TARGET_JAVA
#define WT_ARRAY
#define W_JAVA_COMPARATOR(type)
#define WT_USTRING WString
#define WT_UCHAR std::string
#define WT_BOSTREAM std::ostream
#else
#define WT_ARRAY volatile
#define W_JAVA_COMPARATOR(type) : public Comparator<type>
#define WT_USTRING std::string
#define WT_UCHAR char
#define WT_BOSTREAM std::bostream
#endif
#ifdef _MSC_VER
typedef __int64 int64_t; /* 64 bit signed */
typedef unsigned __int64 uint64_t; /* 64 bit unsigned */
typedef __int32 int32_t; /* 64 bit signed */
typedef unsigned __int32 uint32_t; /* 32 bit unsigned */
#else // _MSC_VER
#include <stdint.h>
#endif // _MSC_VER
#endif // DLLDEFS_H_
|