File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ license "GPL";
88author "Jeff Epler";
99
1010;;
11- #include <stdint .h>
11+ #include <rtapi_stdint .h>
1212FUNCTION(_) {
1313 @TYPI@ val = in;
1414@CC@ if(clamp) {
Original file line number Diff line number Diff line change @@ -23,10 +23,10 @@ utype() {
2323maxval () {
2424 case " $1 " in
2525 " bit" ) echo " 1" ;;
26- " s32" ) echo " INT32_MAX " ;;
27- " u32" ) echo " UINT32_MAX " ;;
28- " s64" ) echo " INT64_MAX " ;;
29- " u64" ) echo " UINT64_MAX " ;;
26+ " s32" ) echo " RTAPI_INT32_MAX " ;;
27+ " u32" ) echo " RTAPI_UINT32_MAX " ;;
28+ " s64" ) echo " RTAPI_INT64_MAX " ;;
29+ " u64" ) echo " RTAPI_UINT64_MAX " ;;
3030 " float" ) echo " Never_Used" ;;
3131 * ) echo " This_Will_Generate_An_Error" ;;
3232 esac
@@ -36,9 +36,9 @@ maxval() {
3636minval () {
3737 case " $1 " in
3838 " bit" ) echo " 0" ;;
39- " s32" ) echo " INT32_MIN " ;;
39+ " s32" ) echo " RTAPI_INT32_MIN " ;;
4040 " u32" ) echo " 0" ;;
41- " s64" ) echo " INT64_MIN " ;;
41+ " s64" ) echo " RTAPI_INT64_MIN " ;;
4242 " u64" ) echo " 0" ;;
4343 " float" ) echo " Never_Used" ;;
4444 * ) echo " This_Will_Generate_An_Error" ;;
You can’t perform that action at this time.
0 commit comments