summaryrefslogtreecommitdiff
path: root/third_party/yasm/source/config/win/stdint.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-08-17 12:23:40 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-08-21 14:22:35 +0000
commite20e80a3662de4e2c798ad74f1d509c1c0b4097b (patch)
treefbfbb230c13f900b4dedee782502900358e7989f /third_party/yasm/source/config/win/stdint.h
parent4b47214ac95ee1ac7c09688363e48c3e6eb77ea8 (diff)
downloadpdfium-e20e80a3662de4e2c798ad74f1d509c1c0b4097b.tar.xz
Roll yasm to 1.3.0.
This basically copies https://chromium-review.googlesource.com/608869 Change-Id: I95acc3018e99a7822b9aaee7f83bc6080c0b3ec0 Reviewed-on: https://pdfium-review.googlesource.com/11336 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'third_party/yasm/source/config/win/stdint.h')
-rw-r--r--third_party/yasm/source/config/win/stdint.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/third_party/yasm/source/config/win/stdint.h b/third_party/yasm/source/config/win/stdint.h
deleted file mode 100644
index d77df92638..0000000000
--- a/third_party/yasm/source/config/win/stdint.h
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (c) 2011 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.
-
-// YASM is written in C99 and requires <stdint.h> and <inttypes.h>.
-
-#ifndef THIRD_PARTY_YASM_SOURCE_CONFIG_WIN_STDINT_H_
-#define THIRD_PARTY_YASM_SOURCE_CONFIG_WIN_STDINT_H_
-
-#if !defined(_MSC_VER)
-#error This file should only be included when compiling with MSVC.
-#endif
-
-// Define C99 equivalent types.
-typedef signed char int8_t;
-typedef signed short int16_t;
-typedef signed int int32_t;
-typedef signed long long int64_t;
-typedef unsigned char uint8_t;
-typedef unsigned short uint16_t;
-typedef unsigned int uint32_t;
-typedef unsigned long long uint64_t;
-
-// Define the C99 INT64_C macro that is used for declaring 64-bit literals.
-// Technically, these should only be definied when __STDC_CONSTANT_MACROS
-// is defined.
-#define INT64_C(value) value##LL
-#define UINT64_C(value) value##ULL
-
-#endif // THIRD_PARTY_YASM_SOURCE_CONFIG_WIN_STDINT_H_