diff Doc/api/api.tex @ 19771:432591328410 legacy-trunk

Document the rule that Python.h must be included before any standard headers. This is the final checkin for SF bug #458768.
author Fred Drake <fdrake@acm.org>
date Thu, 06 Sep 2001 16:30:30 +0000
parents f56c91820fae
children ee12c38e46a6
line wrap: on
line diff
--- a/Doc/api/api.tex	Thu Sep 06 16:20:33 2001 +0000
+++ b/Doc/api/api.tex	Thu Sep 06 16:30:30 2001 +0000
@@ -76,6 +76,9 @@
 This implies inclusion of the following standard headers:
 \code{<stdio.h>}, \code{<string.h>}, \code{<errno.h>},
 \code{<limits.h>}, and \code{<stdlib.h>} (if available).
+Since Python may define some pre-processor definitions which affect
+the standard headers on some systems, you must include \file{Python.h}
+before any standard headers are included.
 
 All user visible names defined by Python.h (except those defined by
 the included standard headers) have one of the prefixes \samp{Py} or