From 23d2b869553f41b4676607cfd32178b24288259c Mon Sep 17 00:00:00 2001 From: Ganesh Viswanathan Date: Thu, 3 Oct 2019 10:54:51 -0500 Subject: Fix wchar_t for nimdoc --- nimterop/types.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 nor any other header). -- cgit v1.2.3