blob: c31676bf39c4e8156de307a85c70f3d9a5a00c37 (
plain)
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
|
#ifndef PCC_VERSION_H
#define PCC_VERSION_H
#include <cstdlib>
#include <iostream>
#define PCC_NAME "pcc"
#define PCC_VERSION_STRING "0.1.2"
#ifndef PCC_OSNAME
#define PCC_OSNAME "unknown platform"
#endif
#ifdef _MSC_VER
#define PCC_NORETURN __declspec(noreturn)
#else
#define PCC_NORETURN __attribute__((noreturn))
#endif
namespace pcc {
PCC_NORETURN void ShowVersion();
PCC_NORETURN void ShowHelp();
} // namespace pcc
#endif
|