summaryrefslogtreecommitdiffstats
path: root/mojo/platform_handle/platform_handle.h
blob: 5facce3815339c48c8c1fa1b4eed3736a68cfd06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef MOJO_PLATFORM_HANDLE_PLATFORM_HANDLE_H_
#define MOJO_PLATFORM_HANDLE_PLATFORM_HANDLE_H_

#include "build/build_config.h"

#if defined(OS_WIN)
#include <windows.h>
#endif

#if defined(OS_WIN)
using MojoPlatformHandle = HANDLE;
#elif defined(OS_POSIX)
using MojoPlatformHandle = int;
#endif

#endif  // MOJO_PLATFORM_HANDLE_PLATFORM_HANDLE_FUNCTIONS_H_