Bug 391488: Eliminate PTRDIFF macro; delete jssttddef.h. r=jimb

Delete jsstddef.h, since its only remaining purpose is to make certain
Win16-specific definitions; we don't support Win16 any more.  In
particular, we can just subtract pointers now, so the PTRDIFF macro is
unnecessary noise.

Most places get stddef.h via jstypes.h or some other header, so we can
just delete #inclusions of jstddef.h.  The exception is jskwgen.h, so
there we explicitly include <stddef.h> instead.
This commit is contained in:
Jim Blandy
2009-02-18 09:14:51 -08:00
parent b3d56e9221
commit 918bbe5eae
44 changed files with 50 additions and 183 deletions

View File

@@ -41,7 +41,6 @@
/*
* JavaScript iterators.
*/
#include "jsstddef.h"
#include <string.h> /* for memcpy */
#include "jstypes.h"
#include "jsutil.h"