-
Notifications
You must be signed in to change notification settings - Fork 825
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fd35c77
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Windows is fine with it? We could have a
#define DIR_SEPARATOR "/"
, iirc it would work like"whatever" DIR_SEPARATOR "whatever"
.fd35c77
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Surprisingly, no problems in Windows. There is
strcat(fullpath, "/kernel/");
infile_contents()
that also works fine.fd35c77
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wonderful :) I remember that I've seen people use only 1 variant on both systems before (probably "/"). I wonder why the
#ifdef / #else
was there in the first place.