Mercurial > dwindows
comparison dw.h @ 2826:5f0483eb39a4
Remove __DW_DESKTOP__ and rename __DW_MOBILE__ to DW_MOBILE.
After thinking about it, __DW means an internal define, which is not how
DW_MOBILE is meant to be used. DW_DESKTOP is already in use, so we will
just use DW_MOBILE to identify mobile platforms, if it isn't set it is a
desktop applicatiob platform.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 01 Sep 2022 06:38:08 +0000 |
parents | 0adf73d5d8c2 |
children | 2934b2fdcd8e |
comparison
equal
deleted
inserted
replaced
2825:69e144d81f19 | 2826:5f0483eb39a4 |
---|---|
12 #define DW_MINOR_VERSION 3 | 12 #define DW_MINOR_VERSION 3 |
13 #define DW_SUB_VERSION 0 | 13 #define DW_SUB_VERSION 0 |
14 | 14 |
15 /* General application type defines */ | 15 /* General application type defines */ |
16 #if defined(__IOS__) || defined(__ANDROID__) | 16 #if defined(__IOS__) || defined(__ANDROID__) |
17 #define __DW_MOBILE__ 1 | 17 #define DW_MOBILE 1 |
18 #else | |
19 #define __DW_DESKTOP__ 1 | |
20 #endif | 18 #endif |
21 | 19 |
22 #define DW_HOME_URL "http://dwindows.netlabs.org" | 20 #define DW_HOME_URL "http://dwindows.netlabs.org" |
23 | 21 |
24 /* Support for API deprecation in supported compilers */ | 22 /* Support for API deprecation in supported compilers */ |