summaryrefslogtreecommitdiff
path: root/doc/tablegen.txt
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2010-06-21 17:01:22 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2010-06-21 17:01:22 +0000
commit6785e9270991e370772d7e0ed1ad60cb89210676 (patch)
treef139b56334f371cfe0f961bc16ae026c49fadbac /doc/tablegen.txt
parent28db32159eba8c74a1c873f1efdd2f747a00ed12 (diff)
mathematics.h no longer needs config.h, so update tablegen code and
documentation to use it where appropriate. Originally committed as revision 23680 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'doc/tablegen.txt')
-rw-r--r--doc/tablegen.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/tablegen.txt b/doc/tablegen.txt
index 8dfcd7d354..6fd0ae9a41 100644
--- a/doc/tablegen.txt
+++ b/doc/tablegen.txt
@@ -12,6 +12,7 @@ the tables as a header file using the tableprint.h helpers.
Both of these files will be compiled for the host system, so to avoid
breakage with cross-compilation neither of them may include, directly
or indirectly, config.h or avconfig.h.
+This means that e.g. libavutil/mathematics.h is ok but libavutil/libm.h is not.
Due to this, the .c file or Makefile may have to provide additional defines
or stubs, though if possible this should be avoided.
In particular, CONFIG_HARDCODED_TABLES should always be defined to 0.