Skip to content

Commit ce2733b

Browse files
committed
Merge pull request opencv#7242 from bkuhls:asm
2 parents 0a30f64 + c704518 commit ce2733b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/core/include/opencv2/core/types_c.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ enum {
318318
int res; \
319319
float temp; \
320320
(void)temp; \
321-
asm(_asm_string : [res] "=r" (res), [temp] "=w" (temp) : [value] "w" (_value)); \
321+
__asm__(_asm_string : [res] "=r" (res), [temp] "=w" (temp) : [value] "w" (_value)); \
322322
return res;
323323
// 2. version for double
324324
#ifdef __clang__

0 commit comments

Comments
 (0)