aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/compile_time_info.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2016-07-02 00:22:17 -0400
committerRalph Amissah <ralph@amissah.com>2019-04-04 14:48:18 -0400
commit951d136957c14bed5581a11fe41bdebd174d5ce8 (patch)
treea1e89be8661bc35a53104a2428dbd95de9a970e2 /org/compile_time_info.org
parentrename files ao_conf_make_meta.d from ao_header_extract.d (org/ output) (diff)
file renaming, whitespace cleaning
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