diff options
author | pvalchev@google.com <pvalchev@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-23 01:37:15 +0000 |
---|---|---|
committer | pvalchev@google.com <pvalchev@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-23 01:37:15 +0000 |
commit | b05be39e20ae9d70bc54c7511d8199517294a2dd (patch) | |
tree | 24750b9f4e7ce4061740c08027cea3855572c1af /app/os_exchange_data.h | |
parent | 53adb9a6d5c506d8df8a08adc092acd524a79753 (diff) | |
download | chromium_src-b05be39e20ae9d70bc54c7511d8199517294a2dd.zip chromium_src-b05be39e20ae9d70bc54c7511d8199517294a2dd.tar.gz chromium_src-b05be39e20ae9d70bc54c7511d8199517294a2dd.tar.bz2 |
OpenBSD/FreeBSD ifdefs and GYP changes for app/ directory
- Use OS_POSIX && !OS_MACOSX defines to capture Linux/*BSD as they
have many similarities, use other defines instead of OS_LINUX
where sensible.
Based on original work by Sprewell and Ben Laurie on FreeBSD port
Review URL: http://codereview.chromium.org/548126
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36931 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app/os_exchange_data.h')
-rw-r--r-- | app/os_exchange_data.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/os_exchange_data.h b/app/os_exchange_data.h index 5677409..b38e655 100644 --- a/app/os_exchange_data.h +++ b/app/os_exchange_data.h @@ -13,7 +13,7 @@ #if defined(OS_WIN) #include <objidl.h> -#elif defined(OS_LINUX) +#elif !defined(OS_MACOSX) #include <gtk/gtk.h> #endif @@ -45,7 +45,7 @@ class OSExchangeData { // nodes are written using a CustomFormat. #if defined(OS_WIN) typedef CLIPFORMAT CustomFormat; -#elif defined(OS_LINUX) +#elif !defined(OS_MACOSX) typedef GdkAtom CustomFormat; #endif |