aboutsummaryrefslogtreecommitdiffstats
path: root/core/fs/pxe/pxe.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fs/pxe/pxe.h')
-rw-r--r--core/fs/pxe/pxe.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/core/fs/pxe/pxe.h b/core/fs/pxe/pxe.h
index 271005c7..19664f9b 100644
--- a/core/fs/pxe/pxe.h
+++ b/core/fs/pxe/pxe.h
@@ -244,7 +244,11 @@ void tftp_open(struct url_info *url, int flags, struct inode *inode,
/* gpxeurl.c */
void gpxe_open(struct inode *inode, const char *url);
-#define GPXE 0
+#ifdef __FIRMWARE_BIOS__
+# define GPXE 1
+#else
+# define GPXE 0
+#endif
/* http.c */
void http_open(struct url_info *url, int flags, struct inode *inode,