MiKTeX 26.5-next
A scalable TeX distribution
Loading...
Searching...
No Matches
config.h
Go to the documentation of this file.
1
13
14#pragma once
15
16#include <miktex/First>
17#include <miktex/Definitions>
18
19// DLL import/export switch
20#if !defined(BDF6E2537F116547846406B5B2B65949)
21# if defined(MIKTEX_APP_SHARED)
22# define MIKTEXAPPEXPORT MIKTEXDLLIMPORT
23# else
24# define MIKTEXAPPEXPORT
25# endif
26#endif
27
28// API decoration for exported member functions
29#define MIKTEXAPPTHISAPI(type) MIKTEXAPPEXPORT type MIKTEXTHISCALL
30#define MIKTEXAPPCEEAPI(type) MIKTEXAPPEXPORT type MIKTEXCEECALL
31
32#if defined(__GNUC__)
33# define MIKTEXAPPTYPEAPI(type) MIKTEXAPPEXPORT type
34#else
35# define MIKTEXAPPTYPEAPI(type) type
36#endif
37
38#define MIKTEX_APP_BEGIN_NAMESPACE \
39 namespace MiKTeX { \
40 namespace App {
41
42#define MIKTEX_APP_END_NAMESPACE \
43 } \
44 }