Home | History | Annotate | Download | only in nacl_io
      1 /* Copyright (c) 2012 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. */
      4 
      5 #ifndef LIBRARIES_NACL_IO_OSTYPES_H_
      6 #define LIBRARIES_NACL_IO_OSTYPES_H_
      7 
      8 #include <sys/types.h>
      9 
     10 #if defined(WIN32)
     11 
     12 #include <BaseTsd.h>
     13 
     14 typedef int mode_t;
     15 typedef SSIZE_T ssize_t;
     16 typedef int uid_t;
     17 typedef int gid_t;
     18 
     19 #endif
     20 
     21 #endif  /* LIBRARIES_NACL_IO_OSTYPES_H_ */
     22