/usr/include/codeblocks/settings.h is in codeblocks-dev 10.05-2.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 | /*
* This file is part of the Code::Blocks IDE and licensed under the GNU Lesser General Public License, version 3
* http://www.gnu.org/licenses/lgpl-3.0.html
*/
#ifndef SETTINGS_H
#define SETTINGS_H
#if defined(_MSC_VER)
/*
Needed for VC6. Windows headers are included somewhere after wxWidgets, and that
causes the stupid CreateWindow/CreateDialog/FindWindow/...etc macros (that resolve
to ANSI and UNICODE versions) to invalidate all calls to such methods in our
code
*/
#include <wx/msw/winundef.h>
/*
Disable the warning:
"<Unknown>' has C-linkage specified, but returns UDT 'wxString' which is
incompatible with C"
This is Ok, because we're always using the returned UDT from within C++
*/
#pragma warning(disable:4190)
#endif
/*
Exclude VC++, because it has silly constraints on importing/exporting classes
from DLLs. Instead, we build "sdk" as a static library
*/
#if defined(__WXMSW__) && !defined(_MSC_VER)
#ifndef DLLIMPORT
#if EXPORT_LIB
#define DLLIMPORT __declspec (dllexport)
#else
#define DLLIMPORT __declspec (dllimport)
#endif // EXPORT_LIB
#endif // DLLIMPORT
#ifndef EVTIMPORT
#if EXPORT_EVENTS
#define EVTIMPORT __declspec (dllexport)
#else
#define EVTIMPORT __declspec (dllimport)
#endif // EXPORT_EVENTS
#endif // EVTIMPORT
#else
#define DLLIMPORT
#define EVTIMPORT
#endif
#endif // SETTINGS_H
|