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:
@@ -41,7 +41,6 @@
|
||||
/*
|
||||
* JavaScript iterators.
|
||||
*/
|
||||
#include "jsstddef.h"
|
||||
#include <string.h> /* for memcpy */
|
||||
#include "jstypes.h"
|
||||
#include "jsutil.h"
|
||||
|
||||
Reference in New Issue
Block a user