# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1662014288 0 # Node ID 5f0483eb39a44632821b883475c2486e590e69d0 # Parent 69e144d81f19a39dcff624b3b679e2ffc2cfee27 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. diff -r 69e144d81f19 -r 5f0483eb39a4 dw.h --- a/dw.h Wed Aug 17 11:36:34 2022 +0000 +++ b/dw.h Thu Sep 01 06:38:08 2022 +0000 @@ -14,9 +14,7 @@ /* General application type defines */ #if defined(__IOS__) || defined(__ANDROID__) -#define __DW_MOBILE__ 1 -#else -#define __DW_DESKTOP__ 1 +#define DW_MOBILE 1 #endif #define DW_HOME_URL "http://dwindows.netlabs.org"