aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/compile_time_info.org
diff options
context:
space:
mode:
Diffstat (limited to 'org/compile_time_info.org')
-rw-r--r--org/compile_time_info.org4
1 files changed, 4 insertions, 0 deletions
diff --git a/org/compile_time_info.org b/org/compile_time_info.org
index 1c3ab0d..9fb5830 100644
--- a/org/compile_time_info.org
+++ b/org/compile_time_info.org
@@ -23,6 +23,7 @@ version(Windows) {} else { ... }
OS type shows during compilation
**** set os flags
+
#+name: sdp_compile_time_info
#+BEGIN_SRC d
version(Windows) {
@@ -58,6 +59,7 @@ version(Windows) {
OS type compiled in and shows during program run
**** report os flag (set) (not used here)
+
#+BEGIN_SRC d
static if(sysWindows) {
writeln("Windows");
@@ -79,6 +81,7 @@ static if(sysWindows) {
#+END_SRC
*** 64 bit compilation?
+
#+name: sdp_compile_time_info
#+BEGIN_SRC d
version(D_LP64) {
@@ -90,6 +93,7 @@ version(D_LP64) {
* tangles :tangle:
** compile_time_info: :compile_time_info.d:
+
#+begin_src d :tangle ../src/sdp/compile_time_info.d
/+
compile_time_info