File: platform.h

package info (click to toggle)
rhash 1.4.3-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,408 kB
  • sloc: ansic: 19,132; sh: 1,196; xml: 933; makefile: 662; python: 431; java: 364; cs: 288; perl: 196; 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 */