summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorwlemb <wlemb>2004-02-20 07:24:19 +0000
committerwlemb <wlemb>2004-02-20 07:24:19 +0000
commit070480fa13842074c15eaad937bf19e0da328b22 (patch)
treec60d9768ee4d286361e3e6100c317407fd78c1d9 /src/include
parentcd1ec86bc5a464538e0773af976d362fc0945370 (diff)
downloadgroff-070480fa13842074c15eaad937bf19e0da328b22.tar.gz
* src/roff/troff/div.cpp: Include nonposix.h after troff.h to
avoid warnings w.r.t. redefinition of P_tmpdir for some compilers.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/nonposix.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/nonposix.h b/src/include/nonposix.h
index a4f05c48..25a7b54e 100644
--- a/src/include/nonposix.h
+++ b/src/include/nonposix.h
@@ -18,7 +18,9 @@ with groff; see the file COPYING. If not, write to the Free Software
Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
/* This header file compartmentalize all idiosyncrasies of non-Posix
- systems, such as MS-DOS, MS-Windows, etc. */
+ systems, such as MS-DOS, MS-Windows, etc. It should be loaded after
+ the system headers like stdio.h to protect against warnings and error
+ messages w.r.t. redefining macros. */
#if defined _MSC_VER
# ifndef _WIN32