Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / native_client_sdk / src / libraries / nacl_io / osdirent.h
blob2da0f3992ec6de4a8451307a088fd57d86246441
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. */
5 #ifndef LIBRARIES_NACL_IO_OSDIRENT_H_
6 #define LIBRARIES_NACL_IO_OSDIRENT_H_
8 #if defined(WIN32)
10 #include <sys/types.h>
11 #include "sdk_util/macros.h"
13 struct dirent {
14 _ino_t d_ino;
15 _off_t d_off;
16 unsigned short int d_reclen;
17 char d_name[256];
20 #else
22 #include <sys/types.h>
23 #include <dirent.h>
25 #endif
27 #endif /* LIBRARIES_NACL_IO_OSDIRENT_H_ */