Revert of Reland debugging for ipc related crash. (patchset #1 id:1 of https://codere...
[chromium-blink-merge.git] / mojo / platform_handle / platform_handle.h
blob5facce3815339c48c8c1fa1b4eed3736a68cfd06
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef MOJO_PLATFORM_HANDLE_PLATFORM_HANDLE_H_
6 #define MOJO_PLATFORM_HANDLE_PLATFORM_HANDLE_H_
8 #include "build/build_config.h"
10 #if defined(OS_WIN)
11 #include <windows.h>
12 #endif
14 #if defined(OS_WIN)
15 using MojoPlatformHandle = HANDLE;
16 #elif defined(OS_POSIX)
17 using MojoPlatformHandle = int;
18 #endif
20 #endif // MOJO_PLATFORM_HANDLE_PLATFORM_HANDLE_FUNCTIONS_H_