/*****************************************************************************/
/* */
-/* incpath.c */
+/* incpath.c */
/* */
-/* Include path handling for cc65 */
+/* Include path handling for cc65 */
/* */
/* */
/* */
/*****************************************************************************/
-/* Data */
+/* Data */
/*****************************************************************************/
/*****************************************************************************/
-/* Code */
+/* Code */
/*****************************************************************************/
-void ForgetAllIncludePaths (void)
-/* Remove all include search paths. */
-{
- ForgetSearchPath (SysIncSearchPath);
- ForgetSearchPath (UsrIncSearchPath);
-}
-
-
-
void InitIncludePaths (void)
/* Initialize the include path search list */
{
#ifdef CC65_INC
AddSearchPath (SysIncSearchPath, STRINGIZE (CC65_INC));
#endif
+
+ /* Add paths relative to the parent directory of the Windows binary. */
+ AddSubSearchPathFromWinBin (SysIncSearchPath, "include");
}