aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGanesh Viswanathan <dev@genotrance.com>2019-10-03 10:54:51 -0500
committerGanesh Viswanathan <dev@genotrance.com>2019-10-03 10:54:51 -0500
commit23d2b869553f41b4676607cfd32178b24288259c (patch)
tree42cf0119150e611111f172129e6d586da7f78e73
parent4994e56a3f625995db43f3c31502311192a4c125 (diff)
downloadnimterop-23d2b869553f41b4676607cfd32178b24288259c.tar.gz
nimterop-23d2b869553f41b4676607cfd32178b24288259c.zip
Fix wchar_t for nimdoc
-rw-r--r--nimterop/types.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/nimterop/types.nim b/nimterop/types.nim
index 709aa79..8492f00 100644
--- a/nimterop/types.nim
+++ b/nimterop/types.nim
@@ -20,7 +20,7 @@ else:
import std/time_t as time_t_temp
type time_t* = time_t_temp.Time
- when defined(c):
+ when defined(c) or defined(nimdoc):
# http://www.cplusplus.com/reference/cwchar/wchar_t/
# In C++, wchar_t is a distinct fundamental type (and thus it is
# not defined in <cwchar> nor any other header).