mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-31 22:10:38 +00:00
This diet types.h and allows to include BITS_PER_LONG only where really needed. It makes BITS_PER_LONG definition close to one used in kernel. Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
10 lines
180 B
C
10 lines
180 B
C
#ifndef __CR_BITSPERLONG_H__
|
|
#define __CR_BITSPERLONG_H__
|
|
|
|
#ifdef CONFIG_X86_64
|
|
# define BITS_PER_LONG 64
|
|
#else
|
|
# define BITS_PER_LONG 32
|
|
#endif
|
|
|
|
#endif /* __CR_BITSPERLONG_H__ */
|