Change to using OS_* defines in cef_*.h platform files.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@236 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt 2011-05-20 20:15:57 +00:00
parent dbe8de277f
commit a42e73848d
3 changed files with 6 additions and 6 deletions

View File

@ -31,7 +31,7 @@
#ifndef _CEF_LINUX_H
#define _CEF_LINUX_H
#if defined(__linux__)
#if defined(OS_LINUX)
#include <pthread.h>
#include "cef_types_linux.h"
#include "cef_types_wrappers.h"
@ -122,6 +122,6 @@ struct CefPrintInfoTraits {
// Class representing print context information.
typedef CefStructBase<CefPrintInfoTraits> CefPrintInfo;
#endif // defined(__linux__)
#endif // OS_LINUX
#endif // _CEF_LINUX_H

View File

@ -31,7 +31,7 @@
#ifndef _CEF_MAC_H
#define _CEF_MAC_H
#if defined(__APPLE__)
#if defined(OS_MACOSX)
#include <pthread.h>
#include "cef_types_mac.h"
#include "cef_types_wrappers.h"
@ -139,6 +139,6 @@ struct CefPrintInfoTraits {
// Class representing print context information.
typedef CefStructBase<CefPrintInfoTraits> CefPrintInfo;
#endif // defined(__APPLE__)
#endif // OS_MACOSX
#endif // _CEF_MAC_H

View File

@ -31,7 +31,7 @@
#ifndef _CEF_WIN_H
#define _CEF_WIN_H
#ifdef _WIN32
#if defined(OS_WIN)
#include <windows.h>
#include "cef_types_win.h"
#include "cef_types_wrappers.h"
@ -156,6 +156,6 @@ struct CefPrintInfoTraits {
// Class representing print context information.
typedef CefStructBase<CefPrintInfoTraits> CefPrintInfo;
#endif // _WIN32
#endif // OS_WIN
#endif // _CEF_WIN_H