Skip to content

Commit

Permalink
fix Cygwin incompatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Beej Jorgensen committed Oct 25, 2018
1 parent 73e70fd commit 5709a94
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/file.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef _FILE_H_
#define _FILE_H_
#ifndef _FILELS_H_ // This was just _FILE_H_, but that interfered with Cygwin
#define _FILELS_H_

struct file_data {
int size;
Expand All @@ -9,4 +9,4 @@ struct file_data {
extern struct file_data *file_load(char *filename);
extern void file_free(struct file_data *filedata);

#endif
#endif

0 comments on commit 5709a94

Please sign in to comment.