aboutsummaryrefslogtreecommitdiff
path: root/coderules.txt
diff options
context:
space:
mode:
authorDRC <dcommander@users.sourceforge.net>2014-05-18 19:04:03 +0000
committerDRC <dcommander@users.sourceforge.net>2014-05-18 19:04:03 +0000
commit5de454b291f48382648a5d1dc2aa0fca8b5786d4 (patch)
treec2cf7aca4212a857dc653aa6e92cff6c8b06fa32 /coderules.txt
parent5033f3e19a31e8ad40c1a79700365aefe5664494 (diff)
downloadlibjpeg-turbo-5de454b291f48382648a5d1dc2aa0fca8b5786d4.tar.gz
libjpeg-turbo has never supported non-ANSI compilers, so get rid of the crufty SIZEOF() macro. It was not being used consistently anyhow, so it would not have been possible to build prior releases of libjpeg-turbo using the broken compilers for which that macro was designed.
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1313 632fc199-4ca6-4c93-a231-07263d6284db
Diffstat (limited to 'coderules.txt')
-rw-r--r--coderules.txt5
1 files changed, 0 insertions, 5 deletions
diff --git a/coderules.txt b/coderules.txt
index c87e6d2b..8683e9a6 100644
--- a/coderules.txt
+++ b/coderules.txt
@@ -45,11 +45,6 @@ keywords can be inserted for use in Windows DLLs.)
A similar solution is used for external function declarations (see the EXTERN
macro.)
-It seems there are some non-ANSI compilers in which the sizeof() operator
-is defined to return int, yet size_t is defined as long. Needless to say,
-this is brain-damaged. Always use the SIZEOF() macro in place of sizeof(),
-so that the result is guaranteed to be of type size_t.
-
The JPEG library is intended to be used within larger programs. Furthermore,
we want it to be reentrant so that it can be used by applications that process