projects
/
users
/
andresfreund
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7849057
)
Remove redundant stdint.h include.
author
Andres Freund
<
[email protected]
>
Sun, 1 Oct 2017 22:24:14 +0000
(15:24 -0700)
committer
Andres Freund
<
[email protected]
>
Sun, 1 Oct 2017 22:24:58 +0000
(15:24 -0700)
Discussion: https://postgr.es/m/31674.
1506788226
@sss.pgh.pa.us
src/include/port/pg_bswap.h
patch
|
blob
|
blame
|
history
diff --git
a/src/include/port/pg_bswap.h
b/src/include/port/pg_bswap.h
index bba0ca5490d8df79fb64a061ce4766966224a282..0b2dcf52cb5817032240121d7f97349dcfa781c6 100644
(file)
--- a/
src/include/port/pg_bswap.h
+++ b/
src/include/port/pg_bswap.h
@@
-21,10
+21,10
@@
#define PG_BSWAP_H
-/*
In all supported versions msvc provides _byteswap_* functions in stdlib.h */
-#ifdef _MSC_VER
-#include <stdlib.h>
-#endif
+/*
+ * In all supported versions msvc provides _byteswap_* functions in stdlib.h,
+ * already included by c.h.
+ */
/* implementation of uint16 pg_bswap16(uint16) */