]> granicus.if.org Git - graphviz/commitdiff
No longer include ast_common.h in lib/cdt
authorErwin Janssen <erwinjanssen@outlook.com>
Wed, 21 Sep 2016 17:30:48 +0000 (19:30 +0200)
committerErwin Janssen <erwinjanssen@outlook.com>
Tue, 4 Oct 2016 14:06:46 +0000 (16:06 +0200)
The ast_common.h no longer contains anything used by cdt, so including it
is no longer needed.

lib/cdt/cdt.vcxproj
lib/cdt/dthdr.h

index 84cfee214b15444dfd3f0b3c84196314157d4e32..d44b5cd83a9ace4885015cba94da864e3cb475fc 100644 (file)
@@ -51,7 +51,7 @@
   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
     <ClCompile>
       <Optimization>Disabled</Optimization>
-      <AdditionalIncludeDirectories>$(ProjectDir);$(SolutionDir)windows\include</AdditionalIncludeDirectories>
+      <AdditionalIncludeDirectories>$(ProjectDir)</AdditionalIncludeDirectories>
       <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;CDT_EXPORTS;WIN32_DLL;_BLD_cdt ;__EXPORT__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
       <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
       <PrecompiledHeader />
@@ -71,7 +71,7 @@
   </ItemDefinitionGroup>
   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
     <ClCompile>
-      <AdditionalIncludeDirectories>$(ProjectDir);$(SolutionDir)windows\include</AdditionalIncludeDirectories>
+      <AdditionalIncludeDirectories>$(ProjectDir)</AdditionalIncludeDirectories>
       <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;CDT_EXPORTS;WIN32_DLL;_BLD_cdt;__EXPORT__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
       <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
       <PrecompiledHeader />
index 9663d6b762151ac76523400d4088c6e98965a871..1f5967eb4db26fc1a51077e95a7331dffc4c3f82 100644 (file)
 
 #include <stdlib.h>
 
-#if defined(_PACKAGE_ast)
-#include       <ast.h>
-#else
-#include       <ast_common.h>
-#endif
-
 #include       <cdt.h>
 
 /* short-hand notations */