pkg-monitoring-plugins/gl/wchar_.h

43 lines
1.4 KiB
C
Raw Normal View History

2013-11-26 22:53:44 +00:00
/* A substitute for ISO C99 <wchar.h>, for platforms that have issues.
2013-11-26 22:53:19 +00:00
2013-11-26 22:53:44 +00:00
Copyright (C) 2007 Free Software Foundation, Inc.
2013-11-26 22:53:19 +00:00
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
2013-11-26 22:53:44 +00:00
/* Written by Eric Blake. */
2013-11-26 22:53:19 +00:00
2013-11-26 22:53:44 +00:00
/*
* ISO C 99 <wchar.h> for platforms that have issues.
* <http://www.opengroup.org/susv3xbd/wchar.h.html>
*
* For now, this just ensures proper prerequisite inclusion order.
*/
2013-11-26 22:53:19 +00:00
2013-11-26 22:53:44 +00:00
#ifndef _GL_WCHAR_H
#define _GL_WCHAR_H
2013-11-26 22:53:19 +00:00
2013-11-26 22:53:44 +00:00
/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
<wchar.h>.
BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
included before <wchar.h>. */
#include <stddef.h>
#include <stdio.h>
#include <time.h>
2013-11-26 22:53:19 +00:00
2013-11-26 22:53:44 +00:00
/* Include the original <wchar.h>. */
#include @ABSOLUTE_WCHAR_H@
2013-11-26 22:53:19 +00:00
2013-11-26 22:53:44 +00:00
#endif /* _GL_WCHAR_H */