2 * Copyright 2009 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file.
8 * NaCl Service Runtime API.
12 #ifndef NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_INCLUDE_BITS_WORDSIZE_H_
13 #define NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_INCLUDE_BITS_WORDSIZE_H_
15 #if !defined(__WORDSIZE)
16 # if defined(__powerpc64__) || defined(__s390x__) || defined(__arch64__) || \
17 defined(__sparcv9) || defined(__x86_64__) || defined(_AMD64_) || \
19 # define __WORDSIZE 64
21 # define __WORDSIZE 32
25 #endif /* NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_INCLUDE_BITS_WORDSIZE_H_ */