git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7849057)
Remove redundant stdint.h include.
Sun, 1 Oct 2017 22:24:14 +0000 (15:24 -0700)
Sun, 1 Oct 2017 22:24:58 +0000 (15:24 -0700)
Discussion: https://postgr.es/m/31674.1506788226@sss.pgh.pa.us


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) */
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /