Skip to content

Commit c8ce571

Browse files
committed
Rationalized PC compiler defines: require MS_WINDOWS or __BORLANDC__
or __WATCOMC__. Add ALTSEP for PC filesystems.
1 parent 1550ff7 commit c8ce571

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Include/osdefs.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,9 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
3737
#define DELIM '\n'
3838
#endif
3939

40-
#if defined(MSDOS) || defined(NT) || defined(__BORLANDC__) || defined(__WATCOMC__)
40+
#if defined(MS_WINDOWS) || defined(__BORLANDC__) || defined(__WATCOMC__)
4141
#define SEP '\\'
42+
#define ALTSEP '/'
4243
#define MAXPATHLEN 256
4344
#define DELIM ';'
4445
#endif

0 commit comments

Comments
 (0)