~ghc/ghc/packages-unix-master

Viewing all changes in revision 538.

  • Committer: Herbert Valerio Riedel
  • Author(s): Moritz Angermann
  • Date: 2017-05-11 16:26:19 UTC
  • Revision ID: git-v1:b5b62536e80344db4468d12fc6ded9fb4bc52be0
Android doesn’t have mkstemps

However the check similarly to tell and seekdir succeeds. However we will generate the following error down the line:
```
/var/folders/fv/xqjrpfj516n5xq_m_ljpsjx00000gn/T/ghc13524_0/ghc_2.c:11:104: error:
     warning: implicit declaration of function 'mkstemps' is invalid in C99 [-Wimplicit-function-declaration]
   |
11 | HsInt32 ghczuwrapperZC1ZCunixzm2zi7zi2zi1ZCSystemziPosixziTempZCmkstemps(void* a1, HsInt32 a2) {return mkstemps(a1, a2);}
   |                                                                                                        ^
HsInt32 ghczuwrapperZC1ZCunixzm2zi7zi2zi1ZCSystemziPosixziTempZCmkstemps(void* a1, HsInt32 a2) {return mkstemps(a1, a2);}
                                                                                                       ^
```

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: