File: platform.h

package info (click to toggle)
rhash 1.4.6-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,184 kB
  • sloc: ansic: 21,206; sh: 1,294; xml: 939; makefile: 670; python: 571; java: 364; cs: 288; perl: 210; ruby: 76; sed: 16
file content (18 lines) | stat: -rw-r--r-- 407 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* platform.h - platform-specific includes and macro */
#ifndef PLATFORM_H
#define PLATFORM_H

/* if compiler is MS VC++ */
#if _MSC_VER > 1000
#define inline __inline

/* disable warnings: The POSIX name for this item is deprecated. Use the ISO C++ conformant name. */
#pragma warning(disable : 4996)

#else /* _MSC_VER > 1000 */

#include <unistd.h>

#endif /* _MSC_VER > 1000 */

#endif /* PLATFORM_H */