DotNetDupe
4.0.6
C++17/20 Implementation of the .NET Base Class Library (BCL)
Toggle main menu visibility
Loading...
Searching...
No Matches
Common.h
Go to the documentation of this file.
1
3
4
#pragma once
5
8
typedef
unsigned
char
byte
;
9
10
#if defined(_WIN32)
11
#pragma warning(disable: 4251)
// dll-interface warning for private template members
12
#pragma warning(disable: 4275)
// non dll-interface class used as base for dll-interface class
13
#ifdef DOTNETDUPE_EXPORTS
16
#define DOTNETDUPE_API __declspec(dllexport)
17
#else
20
#define DOTNETDUPE_API __declspec(dllimport)
21
#endif
22
#ifdef SetPort
23
#undef SetPort
24
#endif
25
#ifdef GetPort
26
#undef GetPort
27
#endif
28
#else
29
#if __GNUC__ >= 4
32
#define DOTNETDUPE_API __attribute__ ((visibility ("default")))
33
#else
36
#define DOTNETDUPE_API
37
#endif
38
#endif
byte
unsigned char byte
Represents an 8-bit unsigned integer.
Definition
Common.h:8
Include
Common.h
Generated by
1.18.0