32 bit Long vs 64 bit long

I am working on project (c++ integration with Python) which has migrated to 32 bit machine to 64 bit machine. In Python, C long is mapped with Python Integer.
SO I can not change in Python Interface(client interface). So I have following solution

1)convert all long to int in 64 bit machine.

2)Declare 32 bit long in 64 bit machine.

Do we have any general solution/header file which give me option to declare 32 bit
datatype always So I can handle this issue in more general way.
Topic archived. No new replies allowed.