Changeset 100501 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Jul 11, 2023 10:26:24 AM (21 months ago)
- svn:sync-xref-src-repo-rev:
- 158285
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/VfrCompile/Pccts/antlr/hash.c
r63393 r100501 39 39 40 40 #include <stdio.h> 41 #ifdef VBOX42 # include <iprt/stdint.h> /* for intptr.h */43 #endif44 41 #include "pcctscfg.h" 45 42 #include "hash.h" … … 135 132 char *p=key; 136 133 Entry *q; 137 /* require(table!=NULL && key!=NULL, "get: invalid table and/or key");*/ 138 if ( !(table!=NULL && key!=NULL) ) *((char *)(/*vbox:*/ intptr_t) 34) = 3; 134 #ifndef VBOX 135 /* require(table!=NULL && key!=NULL, "get: invalid table and/or key");*/ 136 if ( !(table!=NULL && key!=NULL) ) *((char *)34) = 3; 137 #else 138 /* 139 * The original construct must be some sort of release assertion making the program 140 * crash. Unfortunately newer compilers complain about this so use exit(). 141 */ 142 require(table!=NULL && key!=NULL, "get: invalid table and/or key"); 143 #endif 139 144 140 145 Hash(p,h,size);
Note:
See TracChangeset
for help on using the changeset viewer.