Campbell Barton
c14aca0e95
add includes to cmake files
2011-02-21 12:18:34 +00:00
Guillermo S. Romero
456ca98564
malloc() comes from stdlib.h per K&R ANSI C, C89 & C99.
...
If some plataform really needs malloc.h, that is the exception to get #ifdef.
2011-02-17 21:14:54 +00:00
Campbell Barton
538d9180d3
apply fix [ #26117 ] Recent changes to "mikktspace.c" broke building on FreeBSD. Patch attached.
...
also check for NetBSD.
note: we probably should use define HAVE_MALLOC_H, seems common for other projects.
2011-02-17 08:35:15 +00:00
M.G. Kishalmi
b7d349e09c
The modifications in mkktspace broke compilation on gcc 4.2.x
...
This is a patch proposed by sparky_ on irc.
2011-02-16 08:49:27 +00:00
Campbell Barton
85edbd5f8d
fix from mikes for building on apple with gcc 4.2.1
2011-02-16 05:03:33 +00:00
Nathan Letwory
b94be2aa14
Fix from sparky for compile problem with older GCC
2011-02-15 19:57:33 +00:00
Nathan Letwory
3ce233e28d
Move mikktspace code to own library, so it is clear that it is also
...
intended as a standalone library for use in other applications that
want the same tangent space as Blender.
This also keeps blenkernel clean(er) from extra math functions.
2011-02-15 09:24:35 +00:00