attractivechaos / klib

A standalone and lightweight C library

Home Page:http://attractivechaos.github.io/klib/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

drand48 undefined when compiling on Windows

tanis2000 opened this issue · comments

When compiling a library that uses ksort.h on Windows I get the following error:

error LNK2019: unresolved external symbol drand48 referenced in function ks_shuffle_sort_sprite_batch_item

As far as I know drand48 isn't implemented in math.h on Windows.