freebsd-ports/graphics/nvidia-texture-tools/files/patch-src-nvcore-poshlib-posh.h
Dmitry Marakasov 464602e87a The NVIDIA Texture Tools is a collection of image processing and
texture manipulation tools, designed to be integrated in game tools
and asset conditioning pipelines.

The primary features of the library are mipmap and normal map
generation, format conversion and DXT compression.

DXT compression is based on Simon Brown's squish library. The library
also contains an alternative GPU-accelerated compressor that uses
CUDA and is one order of magnitude faster.

WWW: http://code.google.com/p/nvidia-texture-tools/
2009-03-07 14:51:39 +00:00

14 lines
393 B
C

--- src/nvcore/poshlib/posh.h.orig 2008-12-01 11:04:27.000000000 +0300
+++ src/nvcore/poshlib/posh.h 2009-03-06 22:36:38.000000000 +0300
@@ -293,6 +293,11 @@
# define POSH_OS_STRING "Linux"
#endif
+#if defined __FreeBSD__
+# define POSH_OS_FREEBSD 1
+# define POSH_OS_STRING "FreeBSD"
+#endif
+
#if defined __CYGWIN32__
# define POSH_OS_CYGWIN32 1
# define POSH_OS_STRING "Cygwin"