3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-29 22:40:08 +00:00
z3/src/util/machine.h
Bruce Mitchener 51a947b73d Change how 64 bit builds are detected.
Instead of doing this at configure time, we look at the actual
compile time status. This also avoids hardcoding checks based on
what CPU architecture is present, which doesn't work when Z3 is
being built on non-x86_64 platforms.
2018-12-09 16:16:20 +07:00

30 lines
374 B
C

/*++
Copyright (c) 2006 Microsoft Corporation
Module Name:
machine.h
Abstract:
Machine/OS dependent configuration
Author:
Leonardo de Moura (leonardo) 2006-09-13.
Revision History:
--*/
#ifndef MACHINE_H_
#define MACHINE_H_
#if defined(__LP64__) || defined(_WIN64)
#define PTR_ALIGNMENT 3
#else
#define PTR_ALIGNMENT 2
#endif
#endif /* MACHINE_H_ */