evilsong / distorm

Automatically exported from code.google.com/p/distorm
GNU General Public License v3.0
0 stars 0 forks source link

The _LIB preprocessor macro is not unique, preventing inclusion of distorm in another library #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a new library, try to use distorm from inside that library.

What is the expected output? What do you see instead?
Since the new library project also #defines _LIB in the project settings,
the distorm exports are preprocessed out of the header file.

Usually this is solved by giving the _LIB macro a unique name, for example
_LIB_DISTORM3 to prevent collisions.

What version of the product are you using? On what operating system?
r48, msvc2008.

Original issue reported on code.google.com by ianp...@gmail.com on 12 May 2010 at 10:58

GoogleCodeExporter commented 9 years ago
Give the new revision a try please.

Original comment by distorm@gmail.com on 13 May 2010 at 2:01

GoogleCodeExporter commented 9 years ago

Original comment by distorm@gmail.com on 20 Aug 2010 at 9:34