Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F171032371
D59415.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
473 B
Referenced Files
None
Subscribers
None
D59415.diff
View Options
diff --git a/stand/common/md.c b/stand/common/md.c
--- a/stand/common/md.c
+++ b/stand/common/md.c
@@ -34,9 +34,8 @@
#define MD_BLOCK_SIZE 512
-#ifndef MD_IMAGE_SIZE
-#error Must be compiled with MD_IMAGE_SIZE defined
-#endif
+#ifdef MD_IMAGE_SIZE
+
#if (MD_IMAGE_SIZE == 0 || MD_IMAGE_SIZE % MD_BLOCK_SIZE)
#error Image size must be a multiple of 512.
#endif
@@ -152,3 +151,4 @@
printf("MD (%u bytes)", MD_IMAGE_SIZE);
return (pager_output("\n"));
}
+#endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Sep 9, 7:28 AM (4 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38353836
Default Alt Text
D59415.diff (473 B)
Attached To
Mode
D59415: loader: Allow this to compile w/o MD_IMAGE_SIZE defined
Attached
Detach File
Event Timeline
Log In to Comment