root/native_client_sdk/src/libraries/nacl_io/osinttypes.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


/* Copyright (c) 2012 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 NACL_IO_OSINTTYPES_H_
#define NACL_IO_OSINTTYPES_H_

/* Define printf/scanf format strings for size_t. */

#if defined(WIN32)

#if !defined(PRIuS)
#define PRIuS "Iu"
#endif

#if !defined(SCNuS)
#define SCNuS "Iu"
#endif

#else

#include <inttypes.h>

#if !defined(PRIuS)
#define PRIuS "zu"
#endif

#if !defined(SCNuS)
#define SCNuS "zu"
#endif

#endif

#endif  /* NACL_IO_OSINTTYPES_H_ */

/* [<][>][^][v][top][bottom][index][help] */