blob: 267b48b5a697d0d63e3545e911155b3615085ec6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
/* -*- C++ -*- */
//=============================================================================
/**
* @file ace_string.h
*
* $Id$
*
* @author Douglas C. Schmidt (schmidt@cs.wustl.edu)
* @author etc
*/
//=============================================================================
#ifndef ACE_ACE_STRING_H
# define ACE_ACE_STRING_H
# include "ace/pre.h"
# include "ace/config-all.h"
# if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
# endif /* ACE_LACKS_PRAGMA_ONCE */
// Matthew Stevens 7-10-95 Fix GNU GCC 2.7 for memchr() problem.
# if defined (ACE_HAS_GNU_CSTRING_H)
// Define this file to keep /usr/include/memory.h from being included.
# include /**/ <cstring>
# else
# if !defined (ACE_LACKS_MEMORY_H)
# include /**/ <memory.h>
# endif /* !ACE_LACKS_MEMORY_H */
# endif /* ACE_HAS_GNU_CSTRING_H */
// why was this included here?
//# include "ace/ace_stdlib.h"
# if !defined (ACE_LACKS_STRING_H)
# include /**/ <string.h>
# endif /* !ACE_LACKS_STRING_H */
// IRIX5 defines bzero() in this odd file...
# if defined (ACE_HAS_BSTRING)
# include /**/ <bstring.h>
# endif /* ACE_HAS_BSTRING */
// We need strings.h on some platforms (qnx-neutrino, for example)
// to get the declaration for strcasecmp. And bzero() for AIX.
# if defined (ACE_HAS_STRINGS)
# include /**/ <strings.h>
# endif /* ACE_HAS_STRINGS */
# if defined (ACE_LACKS_STRTOK_R_PROTOTYPE) && !defined (_POSIX_SOURCE)
extern "C" char *strtok_r (char *s, const char *delim, char **save_ptr);
# endif /* ACE_LACKS_STRTOK_R_PROTOTYPE */
#endif /* ACE_ACE_STRING_H */
|