Fix wchar_t for nimdoc
This commit is contained in:
parent
4994e56a3f
commit
23d2b86955
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ else:
|
||||||
import std/time_t as time_t_temp
|
import std/time_t as time_t_temp
|
||||||
type time_t* = time_t_temp.Time
|
type time_t* = time_t_temp.Time
|
||||||
|
|
||||||
when defined(c):
|
when defined(c) or defined(nimdoc):
|
||||||
# http://www.cplusplus.com/reference/cwchar/wchar_t/
|
# http://www.cplusplus.com/reference/cwchar/wchar_t/
|
||||||
# In C++, wchar_t is a distinct fundamental type (and thus it is
|
# In C++, wchar_t is a distinct fundamental type (and thus it is
|
||||||
# not defined in <cwchar> nor any other header).
|
# not defined in <cwchar> nor any other header).
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue