Add WEBRTC_POSIX and remove unneeded defines.
Review URL: https://webrtc-codereview.appspot.com/768007 git-svn-id: http://webrtc.googlecode.com/svn/trunk@2695 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -9,17 +9,22 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// This file contains platform-specific typedefs and defines.
|
// This file contains platform-specific typedefs and defines.
|
||||||
|
// Much of it is derived from Chromium's build/build_config.h.
|
||||||
|
|
||||||
#ifndef WEBRTC_TYPEDEFS_H_
|
#ifndef WEBRTC_TYPEDEFS_H_
|
||||||
#define WEBRTC_TYPEDEFS_H_
|
#define WEBRTC_TYPEDEFS_H_
|
||||||
|
|
||||||
// Reserved words definitions
|
// Reserved words definitions
|
||||||
// TODO(andrew): Look at removing these.
|
// TODO(andrew): Remove this.
|
||||||
#define WEBRTC_EXTERN extern
|
|
||||||
#define G_CONST const
|
#define G_CONST const
|
||||||
#define WEBRTC_INLINE extern __inline
|
|
||||||
|
|
||||||
// Derived from Chromium's build/build_config.h
|
// For access to standard POSIXish features, use WEBRTC_POSIX instead of a
|
||||||
|
// more specific macro.
|
||||||
|
#if defined(WEBRTC_MAC) || defined(WEBRTC_LINUX) || \
|
||||||
|
defined(WEBRTC_ANDROID)
|
||||||
|
#define WEBRTC_POSIX
|
||||||
|
#endif
|
||||||
|
|
||||||
// Processor architecture detection. For more info on what's defined, see:
|
// Processor architecture detection. For more info on what's defined, see:
|
||||||
// http://msdn.microsoft.com/en-us/library/b0084kay.aspx
|
// http://msdn.microsoft.com/en-us/library/b0084kay.aspx
|
||||||
// http://www.agner.org/optimize/calling_conventions.pdf
|
// http://www.agner.org/optimize/calling_conventions.pdf
|
||||||
|
Reference in New Issue
Block a user