We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f324899 commit aed8260Copy full SHA for aed8260
src/pg_probackup.h
@@ -39,6 +39,12 @@
39
#include "datapagemap.h"
40
#include "utils/thread.h"
41
42
+#ifdef WIN32
43
+#define __thread __declspec(thread)
44
+#else
45
+#include <pthread.h>
46
+#endif
47
+
48
/* pgut client variables and full path */
49
extern const char *PROGRAM_NAME;
50
extern const char *PROGRAM_NAME_FULL;
src/utils/file.c
@@ -2,12 +2,6 @@
2
#include <unistd.h>
3
#include <sys/stat.h>
4
5
-#ifdef WIN32
6
-#define __thread __declspec(thread)
7
-#else
8
-#include <pthread.h>
9
-#endif
10
-
11
#include "pg_probackup.h"
12
#include "file.h"
13
#include "storage/checksum.h"
0 commit comments