Mercurial > ~dholland > hg > ag > index.cgi
comparison doc/devel/style.txt @ 17:12171da8943f
Don't refer to CVS.
author | David A. Holland |
---|---|
date | Tue, 31 May 2022 01:56:37 -0400 |
parents | 13d2b8934445 |
children |
comparison
equal
deleted
inserted
replaced
16:f9e4689b837d | 17:12171da8943f |
---|---|
98 | 98 |
99 | 99 |
100 ifdefs: | 100 ifdefs: |
101 | 101 |
102 - Use #ifdef AG_ON_UNIX and #ifdef AG_ON_WINDOWS for | 102 - Use #ifdef AG_ON_UNIX and #ifdef AG_ON_WINDOWS for |
103 platform-specific code. Don't use compiler ifdefs for this; | 103 platform-specific code. Don't use per-compiler ifdefs for this; |
104 in the long run compilers are more portable than you think. | 104 in the long run compilers are more portable than you think. |
105 | 105 |
106 - Don't use #ifndef AG_ON_UNIX or #ifndef AG_ON_WINDOWS, unless | 106 - Don't use #ifndef AG_ON_UNIX or #ifndef AG_ON_WINDOWS, unless |
107 it's to issue a #error. | 107 it's to issue a #error. |
108 | 108 |