Since you tagged this “gcc”, try
#if __x86_64__
/* 64-bit */
#endif
More Related Contents:
- Merge multiple .so shared libraries
- Where is the header file on Linux? Why can’t I find ? [duplicate]
- Is errno thread-safe?
- How to capture Control+D signal?
- In C how do you redirect stdin/stdout/stderr to files when making an execvp() or similar call?
- Working of fork() in linux gcc [duplicate]
- Where is PATH_MAX defined in Linux?
- What does the brk() system call do?
- What is the advantage of GCC’s __builtin_expect in if else statements?
- Re-opening stdout and stdin file descriptors after closing them
- “undefined reference to `pow'” even with math.h and the library link -lm [duplicate]
- Build .so file from .c file using gcc command line
- How Can I debug a C program on Linux?
- Are there any platforms where using structure copy on an fd_set (for select() or pselect()) causes problems?
- How can I convert a file pointer ( FILE* fp ) to a file descriptor (int fd)?
- How to compile my own glibc C standard library from source and use it?
- Set environment variables in C
- Disable variable-length automatic arrays in gcc
- How can a shared library (.so) call a function that is implemented in its loader code?
- fd leak, custom Shell
- How can I include a needed C library using GCC?
- Implementation of sizeof operator
- GCC 4.7 Source Character Encoding and Execution Character Encoding For String Literals?
- calling assembly function from c
- How to set up a cron job to run an executable every hour?
- Questions about putenv() and setenv()
- Building a shared library using gcc on Linux and MinGW on Windows
- Process Linkage Table and Global Offset Table
- getrandom syscall in C not found
- argv: Sanitizing wildcards