aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/bison/gnulib/win_sdk10.h
diff options
context:
space:
mode:
authorNikita Slyusarev <nslus@yandex-team.com>2022-02-10 16:46:52 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:52 +0300
commitcd77cecfc03a3eaf87816af28a33067c4f0cdb59 (patch)
tree1308e0bae862d52e0020d881fe758080437fe389 /contrib/tools/bison/gnulib/win_sdk10.h
parentcdae02d225fb5b3afbb28990e79a7ac6c9125327 (diff)
downloadydb-cd77cecfc03a3eaf87816af28a33067c4f0cdb59.tar.gz
Restoring authorship annotation for Nikita Slyusarev <nslus@yandex-team.com>. Commit 1 of 2.
Diffstat (limited to 'contrib/tools/bison/gnulib/win_sdk10.h')
-rw-r--r--contrib/tools/bison/gnulib/win_sdk10.h110
1 files changed, 55 insertions, 55 deletions
diff --git a/contrib/tools/bison/gnulib/win_sdk10.h b/contrib/tools/bison/gnulib/win_sdk10.h
index 76e5c86ccd..fdf8dc9e20 100644
--- a/contrib/tools/bison/gnulib/win_sdk10.h
+++ b/contrib/tools/bison/gnulib/win_sdk10.h
@@ -1,55 +1,55 @@
-#pragma once
-
-#if defined(_MSC_VER)
-
-#include <ntverp.h>
-
-// Check for Windows SDK 10+
-#if defined(VER_PRODUCTBUILD) && VER_PRODUCTBUILD >= 9600
-#define WIN_SDK10 1
-#else
-#define WIN_SDK10 0
-#endif
-
-// Since Windows SDK 10 FILE is an internal opaque structure with no backward compatibility.
-// This code has been transplanted from Windows SDK
-// corecrt_internal_stdio.h
-
-// __crt_stdio_stream_data
-#if WIN_SDK10
-typedef struct {
- union {
- void* _public_file;
- char* _ptr;
- };
-
- char* _base;
- int _cnt;
- long _flags;
- long _file;
- int _charbuf;
- int _bufsiz;
- char* _tmpfname;
- //CRITICAL_SECTION _lock;
-} TWinSdk10File;
-
-enum EWinSdk10ModeBits {
- WIN_SDK10_IOREAD = 0x0001,
- WIN_SDK10_IOWRITE = 0x0002,
- WIN_SDK10_IOUPDATE = 0x0004,
- WIN_SDK10_IOEOF = 0x0008,
- WIN_SDK10_IOERROR = 0x0010,
- WIN_SDK10_IOCTRLZ = 0x0020,
- WIN_SDK10_IOBUFFER_CRT = 0x0040,
- WIN_SDK10_IOBUFFER_USER = 0x0080,
- WIN_SDK10_IOBUFFER_SETVBUF = 0x0100,
- WIN_SDK10_IOBUFFER_STBUF = 0x0200,
- WIN_SDK10_IOBUFFER_NONE = 0x0400,
- WIN_SDK10_IOCOMMIT = 0x0800,
- WIN_SDK10_IOSTRING = 0x1000,
- WIN_SDK10_IOALLOCATED = 0x2000,
-};
-#endif
-
-#endif
-
+#pragma once
+
+#if defined(_MSC_VER)
+
+#include <ntverp.h>
+
+// Check for Windows SDK 10+
+#if defined(VER_PRODUCTBUILD) && VER_PRODUCTBUILD >= 9600
+#define WIN_SDK10 1
+#else
+#define WIN_SDK10 0
+#endif
+
+// Since Windows SDK 10 FILE is an internal opaque structure with no backward compatibility.
+// This code has been transplanted from Windows SDK
+// corecrt_internal_stdio.h
+
+// __crt_stdio_stream_data
+#if WIN_SDK10
+typedef struct {
+ union {
+ void* _public_file;
+ char* _ptr;
+ };
+
+ char* _base;
+ int _cnt;
+ long _flags;
+ long _file;
+ int _charbuf;
+ int _bufsiz;
+ char* _tmpfname;
+ //CRITICAL_SECTION _lock;
+} TWinSdk10File;
+
+enum EWinSdk10ModeBits {
+ WIN_SDK10_IOREAD = 0x0001,
+ WIN_SDK10_IOWRITE = 0x0002,
+ WIN_SDK10_IOUPDATE = 0x0004,
+ WIN_SDK10_IOEOF = 0x0008,
+ WIN_SDK10_IOERROR = 0x0010,
+ WIN_SDK10_IOCTRLZ = 0x0020,
+ WIN_SDK10_IOBUFFER_CRT = 0x0040,
+ WIN_SDK10_IOBUFFER_USER = 0x0080,
+ WIN_SDK10_IOBUFFER_SETVBUF = 0x0100,
+ WIN_SDK10_IOBUFFER_STBUF = 0x0200,
+ WIN_SDK10_IOBUFFER_NONE = 0x0400,
+ WIN_SDK10_IOCOMMIT = 0x0800,
+ WIN_SDK10_IOSTRING = 0x1000,
+ WIN_SDK10_IOALLOCATED = 0x2000,
+};
+#endif
+
+#endif
+