summaryrefslogtreecommitdiff
path: root/ACE/docs
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2021-01-05 12:04:54 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2021-01-05 12:04:54 +0100
commit70a05736260791106fcb87b0a7fe57248dd215eb (patch)
tree4a14163d2579ecede20c85f2a1ea4572439dd0ba /ACE/docs
parent28c4d31ef159f66b7e0c7eb4b24003aca8d31aa7 (diff)
downloadATCD-70a05736260791106fcb87b0a7fe57248dd215eb.tar.gz
Replace psos
* ACE/docs/ACE-guidelines.html:
Diffstat (limited to 'ACE/docs')
-rw-r--r--ACE/docs/ACE-guidelines.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/ACE/docs/ACE-guidelines.html b/ACE/docs/ACE-guidelines.html
index 9beab7f240a..6be50fda12f 100644
--- a/ACE/docs/ACE-guidelines.html
+++ b/ACE/docs/ACE-guidelines.html
@@ -302,24 +302,24 @@ If using g++, problems like this can be flagged as a warning by using the "<code
<li>Try to centralize <code>#ifdef</code>s with <code>typedef</code>s
and <code>#define</code>s. For example, use this:
<pre>
- #if defined(ACE_PSOS)
+ #if defined(ACE_FOO)
typedef long ACE_NETIF_TYPE;
# define ACE_DEFAULT_NETIF 0
- #else /* ! ACE_PSOS */
+ #else /* ! ACE_FOO */
typedef const TCHAR* ACE_NETIF_TYPE;
# define ACE_DEFAULT_NETIF ASYS_TEXT("le0")
- #endif /* ! ACE_PSOS */
+ #endif /* ! ACE_FOO */
</pre><p>
instead of:
<pre><p>
- #if defined (ACE_PSOS)
- // pSOS supports numbers, not names for network interfaces
+ #if defined (ACE_FOO)
+ // Foo supports numbers, not names for network interfaces
long net_if,
- #else /* ! ACE_PSOS */
+ #else /* ! ACE_FOO */
const TCHAR *net_if,
- #endif /* ! ACE_PSOS */
+ #endif /* ! ACE_FOO */
</pre><p>
<li>Protect header files against multiple inclusion with this