Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports
Path: blob/main/cad/gds3d/files/patch-manual-gds_globals.h
18157 views
1
- workaround for error: reference to 'byte' is ambiguous, see https://github.com/trilomix/GDS3D/issues/23
2
3
--- ../libgdsto3d/gds_globals.h.orig 2023-07-09 01:42:32.116154000 -0700
4
+++ ../libgdsto3d/gds_globals.h 2023-07-09 01:42:59.001193000 -0700
5
@@ -116,9 +116,9 @@
6
7
typedef struct gds_header{
8
short RecordLength;
9
- byte RecordType;
10
- byte DataType;
11
- byte *Data;
12
+ ::byte RecordType;
13
+ ::byte DataType;
14
+ ::byte *Data;
15
}gds_header;
16
17
/* A word consists of 16 bits, numbered from 0 to 15, left to right. */
18
19