postgresql/src
Tom Lane cfc157078f Rearrange c.h to create a "compiler characteristics" section.
Generalize section 1 to handle stuff that is principally about the
compiler (not libraries), such as attributes, and collect stuff there
that had been dropped into various other parts of c.h.  Also, push
all the gettext macros into section 8, so that section 0 is really
just inclusions rather than inclusions and random other stuff.

The primary goal here is to get pg_attribute_aligned() defined before
section 3, so that we can use it with int128.  But this seems like good
cleanup anyway.

This patch just moves macro definitions around, and shouldn't result
in any changes in generated code.

Back-patch of commit 91aec93e6.

Discussion: https://postgr.es/m/20171110185747.31519.28038@wrigleys.postgresql.org
2017-11-14 17:22:42 -05:00
..
backend Install Windows crash dump handler before all else. 2017-11-12 14:31:04 -08:00
bin Translation updates 2017-11-05 17:02:54 -05:00
common pgindent run for 9.5 2015-05-23 21:35:49 -04:00
include Rearrange c.h to create a "compiler characteristics" section. 2017-11-14 17:22:42 -05:00
interfaces Add post-2010 ecpg tests to checktcp. 2017-11-11 14:40:24 -08:00
makefiles Always use -fPIC, not -fpic, when building shared libraries with gcc. 2017-06-01 13:32:56 -04:00
pl Translation updates 2017-08-28 10:15:52 -04:00
port Stamp 9.5.10. 2017-11-06 17:11:00 -05:00
template AIX: Test the -qlonglong option before use. 2015-07-17 03:01:29 -04:00
test Fix previous commit's test, for non-UTF8 databases with non-XML builds. 2017-11-11 13:07:55 -08:00
timezone Update time zone data files to tzdata release 2017c. 2017-10-23 18:15:51 -04:00
tools MSVC: Rebuild spiexceptions.h when out of date. 2017-11-12 18:43:45 -08:00
tutorial Remove no-longer-required function declarations. 2015-05-24 12:20:23 -04:00
.gitignore
bcc32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
DEVELOPERS
Makefile Install TAP test infrastructure so it's available for extension testing. 2016-09-23 15:50:00 -04:00
Makefile.global.in PL/Perl portability fix: absorb relevant -D switches from Perl. 2017-07-31 12:38:35 -04:00
Makefile.shlib Fix typos in comments. 2017-02-06 11:34:18 +02:00
nls-global.mk nls-global.mk: search build dir for source files, too 2016-06-07 18:55:18 -04:00
win32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00