mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset 039231fd497f (bug 705856)
This commit is contained in:
parent
120cecd569
commit
d31f108524
@ -38,35 +38,5 @@
|
||||
|
||||
/* This contains stubs and infrastructure to support code from v8 */
|
||||
|
||||
#ifndef V8_SUPPORT_H_
|
||||
#define V8_SUPPORT_H_
|
||||
|
||||
#if defined(_M_X64) || defined(__x86_64__)
|
||||
#define V8_HOST_ARCH_X64 1
|
||||
#elif defined(_M_IX86) || defined(__i386__) || defined(__i386)
|
||||
#define V8_HOST_ARCH_IA32 1
|
||||
#elif defined(__ARMEL__)
|
||||
#define V8_HOST_ARCH_ARM 1
|
||||
#else
|
||||
#warning Please add support for your architecture in chromium_types.h
|
||||
#endif
|
||||
|
||||
const int kMaxInt = 0x7FFFFFFF;
|
||||
const int kMinInt = -kMaxInt - 1;
|
||||
|
||||
// A macro to disallow the evil copy constructor and operator= functions
|
||||
// This should be used in the private: declarations for a class
|
||||
#define DISALLOW_COPY_AND_ASSIGN(TypeName) \
|
||||
TypeName(const TypeName&); \
|
||||
void operator=(const TypeName&)
|
||||
|
||||
|
||||
// The USE(x) template is used to silence C++ compiler warnings
|
||||
// issued for (yet) unused variables (typically parameters).
|
||||
template <typename T>
|
||||
static inline void USE(T) { }
|
||||
|
||||
class Malloced {
|
||||
};
|
||||
|
||||
#endif // V8_SUPPORT_H_
|
||||
|
Loading…
Reference in New Issue
Block a user