liblzma: Minor comment edits.

(cherry picked from commit 3217b82b3e)
This commit is contained in:
Lasse Collin 2024-03-13 21:30:18 +02:00
parent 403b4c78b8
commit 760f622f0d
2 changed files with 4 additions and 2 deletions

View File

@ -217,8 +217,8 @@ typedef struct {
uint16_t offset; uint16_t offset;
union { union {
// NVHPC has problems with unions that contain pointers that are not the first // NVHPC has problems with unions that contain pointers that
// members // are not the first members, so keep "map" at the top.
const name_value_map *map; const name_value_map *map;
struct { struct {

View File

@ -25,6 +25,8 @@ decode_buffer(lzma_delta_coder *coder, uint8_t *buffer, size_t size)
} }
// For an unknown reason NVIDIA HPC Compiler needs this pragma
// to produce working code.
#ifdef __NVCOMPILER #ifdef __NVCOMPILER
# pragma routine novector # pragma routine novector
#endif #endif