Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
neroist committed Apr 17, 2024
1 parent 8e02ca2 commit b774bd0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion uing/rawui.nim
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ when defined(useLibUiDll):
{.pragma: libui, dynlib: dllName.}

elif defined(useLibUiStaticLib):
when defined(windows):
when defined(windows): #? should be vcc
const libName* = "libui.lib"
else:
const libName* = "libui.a"
Expand Down Expand Up @@ -100,6 +100,7 @@ else:
{.passL: "-luser32".}
{.passL: "-lkernel32".}

# should this just be in the above block? vcc already has its own linked resource files...
when defined(cpu64):
{.link: "../res/resources.o".} # resources.o is 64-bit
{.link: "../res/winim64.res".}
Expand Down Expand Up @@ -141,6 +142,7 @@ type
InitOptions* {.bycopy.} = object
size*: csize_t

# deadCodeElim is a noop on nim 2.0+
when NimMajor < 2:
{.deadCodeElim: on.}

Expand Down

0 comments on commit b774bd0

Please sign in to comment.