Skip to content

Commit 15fff72

Browse files
committed
Revert "Configurator: handle negative numbers (ocaml#1334)"
This reverts commit 606f25b. Signed-off-by: Etienne Millon <[email protected]>
1 parent 335b392 commit 15fff72

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/configurator/v1.ml

+1-5
Original file line numberDiff line numberDiff line change
@@ -366,14 +366,10 @@ module C_define = struct
366366
pr {|
367367
const char s%i[] = {
368368
'B', 'E', 'G', 'I', 'N', '-', %s'-',
369-
#if %s >= 0
370369
D9((%s)),
371-
#else
372-
'-', D9((- %s)),
373-
#endif
374370
'-', 'E', 'N', 'D'
375371
};
376-
|} i c_arr_i name name name
372+
|} i c_arr_i name
377373
| String ->
378374
pr {|const char *s%i = "BEGIN-%i-" %s "-END";|} i i name;
379375
| Switch ->

0 commit comments

Comments
 (0)