forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit32a7deb
committed
Define _POSIX_C_SOURCE as 200112L on Solaris.
This is an attempt to suppress some compiler warnings that appeared inthe wake of commit7f798ac: it seems that by default Solaris/illumosdeclares shmdt() to take "char *" not "void *". We'd like the systemheaders to provide modern POSIX APIs, and POSIX 2001 seems to be asmodern as is available there.illumos' standards(7) man page suggests that we might also need todefine __EXTENSIONS__, but let's see what happens with just this.Discussion:https://postgr.es/m/1654508.1733162761@sss.pgh.pa.us1 parent3c5f9f1 commit32a7deb
3 files changed
+9
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7590 | 7590 | | |
7591 | 7591 | | |
7592 | 7592 | | |
7593 | | - | |
7594 | | - | |
| 7593 | + | |
| 7594 | + | |
7595 | 7595 | | |
7596 | | - | |
| 7596 | + | |
7597 | 7597 | | |
7598 | 7598 | | |
7599 | 7599 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
693 | 693 | | |
694 | 694 | | |
695 | 695 | | |
696 | | - | |
697 | | - | |
| 696 | + | |
| 697 | + | |
698 | 698 | | |
699 | | - | |
| 699 | + | |
700 | 700 | | |
701 | 701 | | |
702 | 702 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
264 | | - | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
265 | 267 | | |
266 | 268 | | |
267 | 269 | | |
| |||
0 commit comments
Comments
(0)