diff --git a/cmake-d/CMakeDCompilerABI.d b/cmake-d/CMakeDCompilerABI.d index a7ce103..34d05fb 100644 --- a/cmake-d/CMakeDCompilerABI.d +++ b/cmake-d/CMakeDCompilerABI.d @@ -1,4 +1,5 @@ -string info_sizeof_dptr = "INFO" ":" "sizeof_dptr[" ~ sizeof(void*).stringof ~ "]"; +enum int sizeof_dptr = (void*).sizeof; +string info_sizeof_dptr = "INFO" ":" "sizeof_dptr[" ~ sizeof_dptr.stringof ~ "]"; int main(string[] args) {