LVM unit is broken
## Summary OS/2 LVM Unit compilation are broken ## System Information <!-- The more information are provided the easier it is to replicate the bug --> - **Operating system:** OS/2 <!-- Windows, Linux (if possible, also name the distro), FreeBSD, Android, ... --> - **Processor architecture:** x86 <!-- x86, x86-64, ARM, AARCH64, AVR, RISC-V, PowerPC, ... --> - **Compiler version:** 3.2.2 <!-- 3.2, 3.2.2, 3.3, trunk, beta, ... (if possible, give also the git hash) --> - **Device:** Computer<!-- Computer, Tablet, Mobile, Amiga, Microcontroller, ... --> ## Steps to reproduce <!-- How one can reproduce the issue - this is very important! --> Use LVM unit ## Example Project <!-- If possible, please create an example project that exhibits the problematic behavior, and link to it here in the bug report. --> uses lvm; var Res: cardinal32; begin Open_LVM_Engine(True, @Res); end. ## What is the current bug behavior? <!-- What actually happens --> Import by name not works for OS/2 target. Also, record pack incorrect. ## What is the expected (correct) behavior? <!-- What you should see instead --> Import by name must not include underscope for DLLs. PACKRECORDS 1 must be used. ## Relevant logs and/or screenshots <!-- Paste any relevant logs - please use code blocks (```) to format console output, logs, and code, as it's very hard to read otherwise. You can also use syntax highlighting for Pascal with: ```pascal the code``` For more information see https://docs.gitlab.com/ee/user/markdown.html --> ## Possible fixes <!-- If you can, link to the line of code that might be responsible for the problem --> Updated and fixed LVM unit attached here (tested on ArcaOS 5) [lvm.pas](/uploads/586709eea49987c3f603db1aecdbae95/lvm.pas)
issue