File: platform.h

package info (click to toggle)
r-cran-sourcetools 0.1.7-1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 308 kB
  • sloc: cpp: 1,985; ansic: 505; sh: 10; makefile: 2
file content (20 lines) | stat: -rw-r--r-- 392 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef SOURCETOOLS_PLATFORM_PLATFORM_H
#define SOURCETOOLS_PLATFORM_PLATFORM_H

#ifdef _WIN32
# define SOURCETOOLS_PLATFORM_WINDOWS
#endif

#ifdef __APPLE__
# define SOURCETOOLS_PLATFORM_MACOS
#endif

#ifdef __linux__
# define SOURCETOOLS_PLATFORM_LINUX
#endif

#if defined(__sun) && defined(__SVR4)
# define SOURCETOOLS_PLATFORM_SOLARIS
#endif

#endif /* SOURCETOOLS_PLATFORM_PLATFORM_H */